First step of comment style refactoring to doxygen-style.

This commit is contained in:
Nefarion
2013-03-08 21:41:30 +01:00
parent 2dbe3d6cfe
commit 49fd11ab5a
164 changed files with 363 additions and 362 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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();

View File

@@ -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;