Core/Misc: Fixed some -Weffc++ warnings

This commit is contained in:
Shauren committed 2014-04-20 16:48:35 +02:00
1 parent e830225b21
commit 0f5632c70e
21 files changed
+93 -22

No files matched your search

+4 -2
View File
@@ -38,8 +38,7 @@ enum ConnectionFlags
struct MySQLConnectionInfo
{
MySQLConnectionInfo() { }
MySQLConnectionInfo(const std::string& infoString)
explicit MySQLConnectionInfo(std::string const& infoString)
{
Tokenizer tokens(infoString, ';');
@@ -132,6 +131,9 @@ class MySQLConnection
MySQLConnectionInfo& m_connectionInfo; //! Connection info (used for logging)
ConnectionFlags m_connectionFlags; //! Connection flags (for preparing relevant statements)
ACE_Thread_Mutex m_Mutex;
MySQLConnection(MySQLConnection const& right) DELETE_MEMBER;
MySQLConnection& operator=(MySQLConnection const& right) DELETE_MEMBER;
};
#endif