1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

fix some compiler warnings

This commit is contained in:
NotAdam 2018-10-14 19:20:06 +11:00
parent 7d89b57242
commit 8f584177d7
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ boost::shared_ptr< Mysql::PreparedStatement > Core::Db::DbConnection::getPrepare
assert( index < m_stmts.size() ); assert( index < m_stmts.size() );
auto ret = m_stmts[ index ]; auto ret = m_stmts[ index ];
if( !ret ) if( !ret )
nullptr; return nullptr;
return ret; return ret;
} }

View file

@ -31,7 +31,7 @@ public:
void spawn( PlayerPtr pTarget ) override; void spawn( PlayerPtr pTarget ) override;
uint16_t getModelChara() const; uint16_t getModelChara() const;
uint8_t getLevel() const; uint8_t getLevel() const override;
uint32_t getBNpcBaseId() const; uint32_t getBNpcBaseId() const;
uint32_t getBNpcNameId() const; uint32_t getBNpcNameId() const;