Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/scripts/EasternKingdoms/Deadmines/deadmines.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp src/server/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_kilnara.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_venoxis.cpp src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp src/server/scripts/EasternKingdoms/boss_kruul.cpp src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp src/server/scripts/EasternKingdoms/zone_hinterlands.cpp src/server/scripts/EasternKingdoms/zone_loch_modan.cpp src/server/scripts/EasternKingdoms/zone_redridge_mountains.cpp src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp src/server/scripts/EasternKingdoms/zone_swamp_of_sorrows.cpp src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp src/server/scripts/Kalimdor/boss_azuregos.cpp src/server/scripts/Kalimdor/zone_azshara.cpp src/server/scripts/Kalimdor/zone_darkshore.cpp src/server/scripts/Kalimdor/zone_desolace.cpp src/server/scripts/Kalimdor/zone_durotar.cpp src/server/scripts/Kalimdor/zone_felwood.cpp src/server/scripts/Kalimdor/zone_feralas.cpp src/server/scripts/Kalimdor/zone_moonglade.cpp src/server/scripts/Kalimdor/zone_mulgore.cpp src/server/scripts/Kalimdor/zone_orgrimmar.cpp src/server/scripts/Kalimdor/zone_stonetalon_mountains.cpp src/server/scripts/Kalimdor/zone_tanaris.cpp src/server/scripts/Kalimdor/zone_thousand_needles.cpp src/server/scripts/Kalimdor/zone_thunder_bluff.cpp src/server/scripts/Kalimdor/zone_ungoro_crater.cpp src/server/scripts/Northrend/IcecrownCitadel/boss_the_lich_king.cpp src/server/scripts/Northrend/zone_dalaran.cpp src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp src/server/scripts/Spells/spell_dk.cpp src/server/scripts/Spells/spell_druid.cpp src/server/scripts/Spells/spell_generic.cpp src/server/scripts/Spells/spell_hunter.cpp src/server/scripts/Spells/spell_item.cpp src/server/scripts/Spells/spell_mage.cpp src/server/scripts/Spells/spell_paladin.cpp src/server/scripts/Spells/spell_priest.cpp src/server/scripts/Spells/spell_shaman.cpp src/server/scripts/Spells/spell_warlock.cpp src/server/scripts/Spells/spell_warrior.cpp src/server/scripts/World/item_scripts.cpp
This commit is contained in:
commit
3ce6a9d5cf
629 files changed
+9538
-9546
No files matched your search
@@ -92,7 +92,7 @@ class DBCFileLoader
|
||||
unsigned char *data;
|
||||
unsigned char *stringTable;
|
||||
|
||||
DBCFileLoader(DBCFileLoader const& right) DELETE_MEMBER;
|
||||
DBCFileLoader& operator=(DBCFileLoader const& right) DELETE_MEMBER;
|
||||
DBCFileLoader(DBCFileLoader const& right) = delete;
|
||||
DBCFileLoader& operator=(DBCFileLoader const& right) = delete;
|
||||
};
|
||||
#endif
|
||||
@@ -65,8 +65,8 @@ struct SqlDbc
|
||||
}
|
||||
|
||||
private:
|
||||
SqlDbc(SqlDbc const& right) DELETE_MEMBER;
|
||||
SqlDbc& operator=(SqlDbc const& right) DELETE_MEMBER;
|
||||
SqlDbc(SqlDbc const& right) = delete;
|
||||
SqlDbc& operator=(SqlDbc const& right) = delete;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -296,8 +296,8 @@ class DBCStorage
|
||||
T* dataTable;
|
||||
StringPoolList stringPoolList;
|
||||
|
||||
DBCStorage(DBCStorage const& right) DELETE_MEMBER;
|
||||
DBCStorage& operator=(DBCStorage const& right) DELETE_MEMBER;
|
||||
DBCStorage(DBCStorage const& right) = delete;
|
||||
DBCStorage& operator=(DBCStorage const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -37,8 +37,8 @@ class DatabaseWorker : protected ACE_Task_Base
|
||||
ACE_Activation_Queue* m_queue;
|
||||
MySQLConnection* m_conn;
|
||||
|
||||
DatabaseWorker(DatabaseWorker const& right) DELETE_MEMBER;
|
||||
DatabaseWorker& operator=(DatabaseWorker const& right) DELETE_MEMBER;
|
||||
DatabaseWorker(DatabaseWorker const& right) = delete;
|
||||
DatabaseWorker& operator=(DatabaseWorker const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -132,8 +132,8 @@ class MySQLConnection
|
||||
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;
|
||||
MySQLConnection(MySQLConnection const& right) = delete;
|
||||
MySQLConnection& operator=(MySQLConnection const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -102,8 +102,8 @@ class PreparedStatement
|
||||
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;
|
||||
PreparedStatement(PreparedStatement const& right) = delete;
|
||||
PreparedStatement& operator=(PreparedStatement const& right) = delete;
|
||||
};
|
||||
|
||||
//- Class of which the instances are unique per MySQLConnection
|
||||
@@ -149,8 +149,8 @@ class MySQLPreparedStatement
|
||||
std::vector<bool> m_paramsSet;
|
||||
MYSQL_BIND* m_bind;
|
||||
|
||||
MySQLPreparedStatement(MySQLPreparedStatement const& right) DELETE_MEMBER;
|
||||
MySQLPreparedStatement& operator=(MySQLPreparedStatement const& right) DELETE_MEMBER;
|
||||
MySQLPreparedStatement(MySQLPreparedStatement const& right) = delete;
|
||||
MySQLPreparedStatement& operator=(MySQLPreparedStatement const& right) = delete;
|
||||
};
|
||||
|
||||
typedef ACE_Future<PreparedQueryResult> PreparedQueryResultFuture;
|
||||
|
||||
@@ -56,8 +56,8 @@ class ResultSet
|
||||
MYSQL_RES* _result;
|
||||
MYSQL_FIELD* _fields;
|
||||
|
||||
ResultSet(ResultSet const& right) DELETE_MEMBER;
|
||||
ResultSet& operator=(ResultSet const& right) DELETE_MEMBER;
|
||||
ResultSet(ResultSet const& right) = delete;
|
||||
ResultSet& operator=(ResultSet const& right) = delete;
|
||||
};
|
||||
|
||||
typedef Trinity::AutoPtr<ResultSet, ACE_Thread_Mutex> QueryResult;
|
||||
@@ -103,8 +103,8 @@ class PreparedResultSet
|
||||
void CleanUp();
|
||||
bool _NextRow();
|
||||
|
||||
PreparedResultSet(PreparedResultSet const& right) DELETE_MEMBER;
|
||||
PreparedResultSet& operator=(PreparedResultSet const& right) DELETE_MEMBER;
|
||||
PreparedResultSet(PreparedResultSet const& right) = delete;
|
||||
PreparedResultSet& operator=(PreparedResultSet const& right) = delete;
|
||||
};
|
||||
|
||||
typedef Trinity::AutoPtr<PreparedResultSet, ACE_Thread_Mutex> PreparedQueryResult;
|
||||
|
||||
@@ -71,8 +71,8 @@ class SQLOperation : public ACE_Method_Request
|
||||
MySQLConnection* m_conn;
|
||||
|
||||
private:
|
||||
SQLOperation(SQLOperation const& right) DELETE_MEMBER;
|
||||
SQLOperation& operator=(SQLOperation const& right) DELETE_MEMBER;
|
||||
SQLOperation(SQLOperation const& right) = delete;
|
||||
SQLOperation& operator=(SQLOperation const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -70,16 +70,6 @@
|
||||
# define ATTR_DEPRECATED
|
||||
#endif //COMPILER == COMPILER_GNU
|
||||
|
||||
#if COMPILER_HAS_CPP11_SUPPORT
|
||||
# define OVERRIDE override
|
||||
# define FINAL final
|
||||
# define DELETE_MEMBER = delete
|
||||
#else
|
||||
# define OVERRIDE
|
||||
# define FINAL
|
||||
# define DELETE_MEMBER
|
||||
#endif //COMPILER_HAS_CPP11_SUPPORT
|
||||
|
||||
#define UI64FMTD ACE_UINT64_FORMAT_SPECIFIER
|
||||
#define UI64LIT(N) ACE_UINT64_LITERAL(N)
|
||||
|
||||
|
||||
@@ -110,8 +110,8 @@ class QueryCallback
|
||||
ParamType _param;
|
||||
uint8 _stage;
|
||||
|
||||
QueryCallback(QueryCallback const& right) DELETE_MEMBER;
|
||||
QueryCallback& operator=(QueryCallback const& right) DELETE_MEMBER;
|
||||
QueryCallback(QueryCallback const& right) = delete;
|
||||
QueryCallback& operator=(QueryCallback const& right) = delete;
|
||||
};
|
||||
|
||||
template <typename Result, typename ParamType1, typename ParamType2, bool chain = false>
|
||||
@@ -205,8 +205,8 @@ class QueryCallback_2
|
||||
ParamType2 _param_2;
|
||||
uint8 _stage;
|
||||
|
||||
QueryCallback_2(QueryCallback_2 const& right) DELETE_MEMBER;
|
||||
QueryCallback_2& operator=(QueryCallback_2 const& right) DELETE_MEMBER;
|
||||
QueryCallback_2(QueryCallback_2 const& right) = delete;
|
||||
QueryCallback_2& operator=(QueryCallback_2 const& right) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user