|
@@ -62,10 +62,7 @@ struct chessy::Index
|
|
inline int getColumn (void) const { return index & 0x7; }
|
|
inline int getColumn (void) const { return index & 0x7; }
|
|
inline int getRow (void) const { return (index >> 3) & 0x7; }
|
|
inline int getRow (void) const { return (index >> 3) & 0x7; }
|
|
|
|
|
|
- inline std::string getName(void) const
|
|
|
|
- {
|
|
|
|
- return { char('a' + getColumn()), char(getRow() + '1') };
|
|
|
|
- }
|
|
|
|
|
|
+ std::string getName(void) const;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|