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:
parent
806f235de4
commit
ad6f25cb30
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue