[gunzemulator] r344 committed - Mitigating the warnings on windows is hard :(

0 views
Skip to first unread message

gunzem...@googlecode.com

unread,
Jun 27, 2010, 3:36:15 PM6/27/10
to gogo-dev...@googlegroups.com
Revision: 344
Author: cg.wowus.cg
Date: Sun Jun 27 12:31:08 2010
Log: Mitigating the warnings on windows is hard :(
http://code.google.com/p/gunzemulator/source/detail?r=344

Modified:
/trunk/include/database/MySQLGunzDB.h

=======================================
--- /trunk/include/database/MySQLGunzDB.h Thu Jun 24 18:26:43 2010
+++ /trunk/include/database/MySQLGunzDB.h Sun Jun 27 12:31:08 2010
@@ -9,7 +9,7 @@
#include <mystring.h> // yet another bug in mysql + clang++.
#include <mysql++.h>

-#include <boost/thread/recursive_mutex.hpp>
+#include <boost/noncopyable.hpp>
#include <boost/function.hpp>

class MySQLGunzDB : public GunzDB
@@ -19,7 +19,7 @@
cockpit::Logger* logger;

private:
- struct scoped_connection
+ struct scoped_connection : boost::noncopyable
{
private:
ConnectionPool& pool;

Reply all
Reply to author
Forward
0 new messages