fix(build): eluna (#3103)

This commit is contained in:
Stefano Borzì
2020-06-01 20:54:29 +02:00
committed by GitHub
parent 7c1da6c5a3
commit 5fb235ff86
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ bool PreparedResultSet::_NextRow()
}
#ifdef ELUNA
char* ResultSet::GetFieldName(uint32 index) const
std::string ResultSet::GetFieldName(uint32 index) const
{
ASSERT(index < _fieldCount);
return _fields[index].name;

View File

@@ -32,7 +32,7 @@ class ResultSet
uint64 GetRowCount() const { return _rowCount; }
uint32 GetFieldCount() const { return _fieldCount; }
#ifdef ELUNA
char* GetFieldName(uint32 index) const;
std::string GetFieldName(uint32 index) const;
#endif
Field* Fetch() const { return _currentRow; }
const Field & operator [] (uint32 index) const