mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
[svn] Fixed a typo in QueryResult.h. Patch provided by Paradox.
--HG-- branch : trunk
This commit is contained in:
@@ -35,7 +35,7 @@ class TRINITY_DLL_SPEC QueryResult
|
||||
|
||||
uint32 GetField_idx(const std::string &name) const
|
||||
{
|
||||
for(FieldNames::const_iterator iter = GetFiedNames().begin(); iter != GetFiedNames().end(); ++iter)
|
||||
for(FieldNames::const_iterator iter = GetFieldNames().begin(); iter != GetFieldNames().end(); ++iter)
|
||||
{
|
||||
if(iter->second == name)
|
||||
return iter->first;
|
||||
@@ -55,7 +55,7 @@ class TRINITY_DLL_SPEC QueryResult
|
||||
|
||||
uint32 GetFieldCount() const { return mFieldCount; }
|
||||
uint64 GetRowCount() const { return mRowCount; }
|
||||
FieldNames const& GetFiedNames() const {return mFieldNames; }
|
||||
FieldNames const& GetFieldNames() const {return mFieldNames; }
|
||||
|
||||
protected:
|
||||
Field *mCurrentRow;
|
||||
|
||||
Reference in New Issue
Block a user