Core/Misc: Fixed some -Weffc++ warnings
This commit is contained in:
1 parent
e830225b21
commit
0f5632c70e
21 files changed
+93
-22
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user