mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
First step of comment style refactoring to doxygen-style.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#define TRINITYCORE_COMMON_H
|
||||
|
||||
// config.h needs to be included 1st
|
||||
// TODO this thingy looks like hack, but its not, need to
|
||||
/// @todo this thingy looks like hack, but its not, need to
|
||||
// make separate header however, because It makes mess here.
|
||||
#ifdef HAVE_CONFIG_H
|
||||
// Remove Some things that we will define
|
||||
|
||||
@@ -388,7 +388,7 @@ class DatabaseWorkerPool
|
||||
}
|
||||
|
||||
//! Handle MySQL Errno 1213 without extending deadlock to the core itself
|
||||
//! TODO: More elegant way
|
||||
/// @todo More elegant way
|
||||
if (con->GetLastError() == 1213)
|
||||
{
|
||||
uint8 loopBreaker = 5;
|
||||
|
||||
@@ -188,7 +188,7 @@ bool MySQLConnection::Execute(PreparedStatement* stmt)
|
||||
MySQLPreparedStatement* m_mStmt = GetPreparedStatement(index);
|
||||
ASSERT(m_mStmt); // Can only be null if preparation failed, server side error or bad query
|
||||
m_mStmt->m_stmt = stmt; // Cross reference them for debug output
|
||||
stmt->m_stmt = m_mStmt; // TODO: Cleaner way
|
||||
stmt->m_stmt = m_mStmt; /// @todo Cleaner way
|
||||
|
||||
stmt->BindParameters();
|
||||
|
||||
@@ -238,7 +238,7 @@ bool MySQLConnection::_Query(PreparedStatement* stmt, MYSQL_RES **pResult, uint6
|
||||
MySQLPreparedStatement* m_mStmt = GetPreparedStatement(index);
|
||||
ASSERT(m_mStmt); // Can only be null if preparation failed, server side error or bad query
|
||||
m_mStmt->m_stmt = stmt; // Cross reference them for debug output
|
||||
stmt->m_stmt = m_mStmt; // TODO: Cleaner way
|
||||
stmt->m_stmt = m_mStmt; /// @todo Cleaner way
|
||||
|
||||
stmt->BindParameters();
|
||||
|
||||
|
||||
@@ -626,7 +626,7 @@ inline ByteBuffer &operator>>(ByteBuffer &b, std::map<K, V> &m)
|
||||
return b;
|
||||
}
|
||||
|
||||
// TODO: Make a ByteBuffer.cpp and move all this inlining to it.
|
||||
/// @todo Make a ByteBuffer.cpp and move all this inlining to it.
|
||||
template<> inline std::string ByteBuffer::read<std::string>()
|
||||
{
|
||||
std::string tmp;
|
||||
|
||||
Reference in New Issue
Block a user