summaryrefslogtreecommitdiff
path: root/integer.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-15 09:44:42 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-15 09:44:42 +0000
commiteeb9ff5e0b636456e46ae5f8dc96bd0a097eb178 (patch)
tree856e6cb973a9c21ed128b3a0029354bb22e3a40a /integer.h
parent3961b41d8f2426caa4a47509a743837c24f1438d (diff)
downloadcryptopp-git-eeb9ff5e0b636456e46ae5f8dc96bd0a097eb178.tar.gz
fix C++Builder 2009 compile, update Readme and License
Diffstat (limited to 'integer.h')
-rw-r--r--integer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/integer.h b/integer.h
index 4e93c3a1..6d844fa5 100644
--- a/integer.h
+++ b/integer.h
@@ -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