Remove const from MySQLConnectionInfo, can't use non const functions in a const struct. This fixes the compile error.

--HG--
branch : trunk
This commit is contained in:
Anubisss committed 2010-09-30 20:32:09 +02:00
1 parent 41d816740b
commit 84a29b2d35
5 files changed
+12 -17

No files matched your search

@@ -26,8 +26,8 @@ class CharacterDatabaseConnection : public MySQLConnection
{
public:
//- Constructors for sync and async connections
CharacterDatabaseConnection(const MySQLConnectionInfo& connInfo) : MySQLConnection(connInfo) {}
CharacterDatabaseConnection(ACE_Activation_Queue* q, const MySQLConnectionInfo& connInfo) : MySQLConnection(q, connInfo) {}
CharacterDatabaseConnection(MySQLConnectionInfo& connInfo) : MySQLConnection(connInfo) {}
CharacterDatabaseConnection(ACE_Activation_Queue* q, MySQLConnectionInfo& connInfo) : MySQLConnection(q, connInfo) {}
//- Loads databasetype specific prepared statements
bool Open();