Remove surface::operator<

This commit is contained in:
Charles Dang 2024-08-16 00:25:06 -04:00
parent ce740656fd
commit 6d258e20de
2 changed files with 0 additions and 7 deletions

View file

@ -81,11 +81,6 @@ void surface::free_surface()
}
}
bool operator<(const surface& a, const surface& b)
{
return a.get() < b.get();
}
std::ostream& operator<<(std::ostream& stream, const surface& surf)
{
if(!surf.get()) {

View file

@ -109,8 +109,6 @@ private:
static const SDL_PixelFormat neutral_pixel_format;
};
bool operator<(const surface& a, const surface& b);
std::ostream& operator<<(std::ostream& stream, const surface& surf);
/**