diff options
author | weidai <weidai11@users.noreply.github.com> | 2009-03-15 09:44:42 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2009-03-15 09:44:42 +0000 |
commit | eeb9ff5e0b636456e46ae5f8dc96bd0a097eb178 (patch) | |
tree | 856e6cb973a9c21ed128b3a0029354bb22e3a40a /integer.h | |
parent | 3961b41d8f2426caa4a47509a743837c24f1438d (diff) | |
download | cryptopp-git-eeb9ff5e0b636456e46ae5f8dc96bd0a097eb178.tar.gz |
fix C++Builder 2009 compile, update Readme and License
Diffstat (limited to 'integer.h')
-rw-r--r-- | integer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -408,11 +408,13 @@ inline CryptoPP::word operator%(const CryptoPP::Integer &a, CryptoPP::word b) NAMESPACE_END +#ifndef __BORLANDC__ NAMESPACE_BEGIN(std) -template<> inline void swap(CryptoPP::Integer &a, CryptoPP::Integer &b) +inline void swap(CryptoPP::Integer &a, CryptoPP::Integer &b) { a.swap(b); } NAMESPACE_END +#endif #endif |