remove msvc warnings

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-05 10:38:07 +00:00
parent 98d9388dfb
commit 62be08b797
2 changed files with 2 additions and 1 deletions

View file

@ -183,6 +183,7 @@ class flex_string : private Storage
#else #else
Invariant(const flex_string&) {} Invariant(const flex_string&) {}
#endif #endif
Invariant& operator=(const Invariant&);
}; };
public: public:

View file

@ -73,7 +73,7 @@ String RandomString(const String* /* model */, unsigned int maxSize)
} }
template <class String, class Integral> template <class String, class Integral>
void Num2String(String& str, Integral n) void Num2String(String& str, Integral )
{ {
str.resize(10, '\0'); str.resize(10, '\0');
// ultoa((unsigned long)n, &str[0], 10); // ultoa((unsigned long)n, &str[0], 10);