diff --git a/include/loki/flex/flex_string_shell.h b/include/loki/flex/flex_string_shell.h index 3af1582..2a851bc 100755 --- a/include/loki/flex/flex_string_shell.h +++ b/include/loki/flex/flex_string_shell.h @@ -183,6 +183,7 @@ class flex_string : private Storage #else Invariant(const flex_string&) {} #endif + Invariant& operator=(const Invariant&); }; public: diff --git a/test/flex_string/main.cpp b/test/flex_string/main.cpp index 11a9fb2..74a4e99 100755 --- a/test/flex_string/main.cpp +++ b/test/flex_string/main.cpp @@ -73,7 +73,7 @@ String RandomString(const String* /* model */, unsigned int maxSize) } template -void Num2String(String& str, Integral n) +void Num2String(String& str, Integral ) { str.resize(10, '\0'); // ultoa((unsigned long)n, &str[0], 10);