Fixed compilation error

This commit is contained in:
Dmitry Panin
2013-11-19 11:06:31 +04:00
parent f370899a8a
commit 071a487100
2 changed files with 22 additions and 13 deletions

View File

@@ -14,18 +14,9 @@ private:
static boost::mutex mMutex;
public:
static void add(const std::string& s) {
boost::mutex::scoped_lock lock(mMutex);
stream << s << "\n";
}
static void debugAndClear() {
stream.flush();
qDebug("%s", stream.str().c_str());
stream.str("");
}
static void clear() {
stream.str("");
}
static void add(const std::string& s);
static void debugAndClear();
static void clear();
};
#endif