From b9f1344030cf8349ff1a9c5997cbdac9e4d82992 Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 16 Apr 2007 00:26:05 +0000 Subject: ICC workaround git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@304 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- algparam.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'algparam.h') diff --git a/algparam.h b/algparam.h index 6a24298..d090333 100644 --- a/algparam.h +++ b/algparam.h @@ -130,6 +130,7 @@ public: GetValueHelperClass &Assignable() { +#ifndef __INTEL_COMPILER // ICL 9.1 workaround: Intel compiler copies the vTable pointer for some reason if (m_getValueNames) ((*reinterpret_cast(m_pValue) += "ThisObject:") += typeid(T).name()) += ';'; if (!m_found && strncmp(m_name, "ThisObject:", 11) == 0 && strcmp(m_name+11, typeid(T).name()) == 0) @@ -138,6 +139,7 @@ public: *reinterpret_cast(m_pValue) = *m_pObject; m_found = true; } +#endif return *this; } -- cgit v1.2.1