mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-27 12:58:12 +05:00
Further C-style struct definitions fixes
This commit is contained in:
@@ -30,7 +30,8 @@ public:
|
||||
int compareTo(const TextureHolder *other) const;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
struct TextureHolderLessThan
|
||||
{
|
||||
bool operator() (const TextureHolder *first, const TextureHolder *second) const { return first->compareTo(second) >= 0; }
|
||||
} TextureHolderLessThan;
|
||||
inline bool operator()(const TextureHolder *first, const TextureHolder *second) const
|
||||
{ return first->compareTo(second) >= 0; }
|
||||
};
|
||||
Reference in New Issue
Block a user