diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-04-20 16:48:35 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-04-20 16:48:35 +0200 |
commit | 0f5632c70eb11a10225279a7d2d8b511d0095d16 (patch) | |
tree | 5b87a08861f975fbf7acb2a28293e1295f645921 /src/server/shared/Database/PreparedStatement.h | |
parent | e830225b213b4a757e40df653d5f18dfc8fb9e21 (diff) |
Core/Misc: Fixed some -Weffc++ warnings
Diffstat (limited to 'src/server/shared/Database/PreparedStatement.h')
-rw-r--r-- | src/server/shared/Database/PreparedStatement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/shared/Database/PreparedStatement.h b/src/server/shared/Database/PreparedStatement.h index 6a4d03bfb4d..9ccd16e3d5c 100644 --- a/src/server/shared/Database/PreparedStatement.h +++ b/src/server/shared/Database/PreparedStatement.h @@ -101,6 +101,9 @@ class PreparedStatement MySQLPreparedStatement* m_stmt; uint32 m_index; std::vector<PreparedStatementData> statement_data; //- Buffer of parameters, not tied to MySQL in any way yet + + PreparedStatement(PreparedStatement const& right) DELETE_MEMBER; + PreparedStatement& operator=(PreparedStatement const& right) DELETE_MEMBER; }; //- Class of which the instances are unique per MySQLConnection @@ -145,6 +148,9 @@ class MySQLPreparedStatement uint32 m_paramCount; std::vector<bool> m_paramsSet; MYSQL_BIND* m_bind; + + MySQLPreparedStatement(MySQLPreparedStatement const& right) DELETE_MEMBER; + MySQLPreparedStatement& operator=(MySQLPreparedStatement const& right) DELETE_MEMBER; }; typedef ACE_Future<PreparedQueryResult> PreparedQueryResultFuture; |