diff --git a/algparam.h b/algparam.h index 92eb384d..f5a79c5e 100644 --- a/algparam.h +++ b/algparam.h @@ -459,12 +459,21 @@ public: } } +#if defined(_MSC_VER) && (_MSC_VER >= 1300) +# pragma push_macro("new") +# undef new +#endif + void MoveInto(void *buffer) const { AlgorithmParametersTemplate* p = new(buffer) AlgorithmParametersTemplate(*this); CRYPTOPP_UNUSED(p); // silence warning } +#if defined(_MSC_VER) && (_MSC_VER >= 1300) +# pragma pop_macro("new") +#endif + protected: T m_value; };