From 0f5632c70eb11a10225279a7d2d8b511d0095d16 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 20 Apr 2014 16:48:35 +0200 Subject: Core/Misc: Fixed some -Weffc++ warnings --- src/server/shared/Database/PreparedStatement.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/server/shared/Database/PreparedStatement.h') 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 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 m_paramsSet; MYSQL_BIND* m_bind; + + MySQLPreparedStatement(MySQLPreparedStatement const& right) DELETE_MEMBER; + MySQLPreparedStatement& operator=(MySQLPreparedStatement const& right) DELETE_MEMBER; }; typedef ACE_Future PreparedQueryResultFuture; -- cgit v1.2.3