clang-tidy: fix many warnings

This commit is contained in:
Er2
2023-12-02 21:04:21 +03:00
parent 0f9131c43a
commit bf78dd4bf1
28 changed files with 61 additions and 57 deletions

View File

@@ -14,7 +14,7 @@
AppPlatform_sdl::AppPlatform_sdl(std::string storageDir, SDL_Window *window)
: AppPlatform_sdl_base(storageDir, window)
{
setIcon(loadTexture("icon.png"));
setIcon(AppPlatform_sdl::loadTexture("icon.png"));
}
// Take Screenshot
@@ -81,7 +81,7 @@ ret:
}
if (rows != NULL)
{
delete rows[height];
delete[] rows;
}
if (file != NULL)
{