Change int to size_t return.
This commit is contained in:
parent
a138671e0e
commit
dca3af1f0f
@ -83,9 +83,9 @@ void cEnchantments::AddFromString(const AString & a_StringSpec)
|
||||
|
||||
|
||||
|
||||
int cEnchantments::Size(void)
|
||||
size_t cEnchantments::Size(void)
|
||||
{
|
||||
return (int)m_Enchantments.size();
|
||||
return m_Enchantments.size();
|
||||
}
|
||||
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
void AddFromString(const AString & a_StringSpec);
|
||||
|
||||
/** Get the count of enchantments */
|
||||
int Size(void);
|
||||
size_t Size(void);
|
||||
|
||||
/** Serializes all the enchantments into a string */
|
||||
AString ToString(void) const;
|
||||
|
Loading…
Reference in New Issue
Block a user