diff --git a/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.cpp b/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.cpp index 2784757b..34f1433c 100755 --- a/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.cpp +++ b/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.cpp @@ -197,7 +197,7 @@ bool ObjvarBuffer::save(DB::Session *session) // ---------------------------------------------------------------------- -void ObjvarBuffer::getObjvarsForObject(const NetworkId &objectId, std::vector &commands) const +void ObjvarBuffer::getObjvarsForObject(const NetworkId objectId, std::vector commands) const { DynamicVariableList::MapType::Command c; @@ -256,7 +256,7 @@ void ObjvarBuffer::getObjvarsForObject(const NetworkId &objectId, std::vector &commands) +void ObjvarBuffer::updateObjvars(const NetworkId objectId, const std::vector commands) { bool override=false; // flag that we're dealing with the gold data override case (storing an objvar change in the live database, on an object that came from the gold database) if (ConfigServerDatabase::getEnableGoldDatabase() && objectId < ConfigServerDatabase::getMaxGoldNetworkId()) diff --git a/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.h b/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.h index f834649b..ebc2e0d4 100755 --- a/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.h +++ b/game/server/application/SwgDatabaseServer/src/shared/buffers/ObjvarBuffer.h @@ -49,10 +49,10 @@ public: virtual bool save(DB::Session *session); virtual void removeObject(const NetworkId &object); - DBSchema::ObjectVariableRow *findRowByIndex(const NetworkId &objectId, const std::string &name); + DBSchema::ObjectVariableRow *findRowByIndex(const NetworkId objectId, const std::string &name); - void updateObjvars(const NetworkId &objectId, const std::vector &commands); - void getObjvarsForObject(const NetworkId &objectId, std::vector &commands) const; + void updateObjvars(const NetworkId objectId, const std::vector commands); + void getObjvarsForObject(const NetworkId objectId, std::vector commands) const; private: struct IndexKey @@ -60,7 +60,7 @@ public: NetworkId m_objectId; int m_nameId; - IndexKey(const NetworkId &objectId, int nameId); + IndexKey(const NetworkId objectId, int nameId); ~IndexKey(){ m_nameId = 0; } @@ -101,7 +101,7 @@ public: // ====================================================================== -inline ObjvarBuffer::IndexKey::IndexKey(const NetworkId &objectId, int nameId) : +inline ObjvarBuffer::IndexKey::IndexKey(const NetworkId objectId, int nameId) : m_objectId(objectId), m_nameId(nameId) {