summaryrefslogtreecommitdiff
path: root/algparam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'algparam.cpp')
-rw-r--r--algparam.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/algparam.cpp b/algparam.cpp
index 1ef7de4..1b980b6 100644
--- a/algparam.cpp
+++ b/algparam.cpp
@@ -6,7 +6,11 @@
NAMESPACE_BEGIN(CryptoPP)
-const std::type_info &g_typeidInteger = typeid(Integer);
+const std::type_info & IntegerTypeId()
+{
+ static const std::type_info &s_typeidInteger = typeid(Integer);
+ return s_typeidInteger;
+}
void AssignIntToInteger(void *pInteger, const void *pInt)
{