Further C-style struct definitions fixes

This commit is contained in:
void_17 committed 2026-03-02 15:11:05 +07:00
1 parent def238ff08
commit 09e0c04f7b
3 files changed
+20 -17

No files matched your search

+4 -3
View File
@@ -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; }
};