housekeeping

This commit is contained in:
scawful
2022-09-02 17:42:09 -05:00
parent 2a10637e15
commit d4f37d2422
2 changed files with 3 additions and 6 deletions

View File

@@ -46,12 +46,8 @@ class Bitmap {
private:
struct sdl_deleter {
void operator()(SDL_Texture *p) const {
SDL_DestroyTexture(p);
}
void operator()(SDL_Surface *p) const {
SDL_FreeSurface(p);
}
void operator()(SDL_Texture *p) const { SDL_DestroyTexture(p); }
void operator()(SDL_Surface *p) const { SDL_FreeSurface(p); }
};
int width_ = 0;