1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-28 20:27:46 +00:00

Fix const error on group gen func

This commit is contained in:
Maru 2018-03-06 04:34:53 -03:00
parent 806f235de4
commit ad6f25cb30
2 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ T Core::Social::SocialMgr< T >::findGroupById( uint64_t groupId ) const
}
template< class T >
uint64_t Core::Social::SocialMgr< T >::generateGroupId() const
uint64_t Core::Social::SocialMgr< T >::generateGroupId()
{
m_lastGroupId++;
return m_lastGroupId;
@ -52,4 +52,4 @@ bool Core::Social::SocialMgr< T >::hasInvite( uint64_t playerId ) const
return true;
}
return false;
}
}

View file

@ -62,7 +62,7 @@ protected:
friend virtual void disband();
*/
virtual uint64_t generateGroupId() const;
virtual uint64_t generateGroupId();
private:
std::map< uint64_t, T > m_groups;
@ -71,4 +71,4 @@ private:
}
};
#endif /* ! _SOCIALMGR_H */
#endif /* ! _SOCIALMGR_H */