From a7547f15e31521dd955ee2608c5507b5526401ed Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Sat, 10 Oct 2009 23:01:33 +0300 Subject: [PATCH] Fix compiler warning warning C4512: 'PreprocessorMacro' : assignment operator could not be generated --- src/preprocessor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/preprocessor.cpp b/src/preprocessor.cpp index 8ee0f0ece..337be9ed9 100644 --- a/src/preprocessor.cpp +++ b/src/preprocessor.cpp @@ -1314,6 +1314,8 @@ private: /** The macro has parantheses but no parameters.. "AAA()" */ bool _nopar; + /** disabled assignment operator */ + void operator=(const PreprocessorMacro &); public: /** * @param macro The code after #define, until end of line,