SyncContext testing: wrong signature of virtual method

clang 2.9 pointed out that getLogDir() didn't have the desired effect
anymore after a signature change in the base class. Not sure why the
test passed regardless of that, but it was indeed broken.
This commit is contained in:
Patrick Ohly 2011-04-11 12:47:03 +02:00
parent 077ffa1844
commit ff89518634

View file

@ -4080,7 +4080,7 @@ public:
private:
string getLogData() { return "LogDirTest/data"; }
virtual const char *getLogDir() { return "LogDirTest/cache/syncevolution"; }
virtual std::string getLogDir() const { return "LogDirTest/cache/syncevolution"; }
int m_maxLogDirs;
ostringstream m_out;