diff options
Diffstat (limited to 'anim-crop-tool')
-rw-r--r-- | anim-crop-tool/atlas.hpp | 3 | ||||
-rw-r--r-- | anim-crop-tool/main.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/anim-crop-tool/atlas.hpp b/anim-crop-tool/atlas.hpp index 02e7176b..6da8fd63 100644 --- a/anim-crop-tool/atlas.hpp +++ b/anim-crop-tool/atlas.hpp @@ -1,11 +1,10 @@ #pragma once #include <vector> +#include <filesystem> #include <Magnum/Magnum.h> #include <Magnum/Math/Vector2.h> #include <opencv2/core/mat.hpp> -namespace std::filesystem { class path; } - namespace floormat::Serialize { struct anim_frame; diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index e77821f5..430e4b80 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -185,7 +185,7 @@ static char* fix_argv0(char* argv0) noexcept return c+1; } #else - if (auto* c = strrchr(argv[0], '/'); c && c[1]) + if (auto* c = strrchr(argv0, '/'); c && c[1]) return c+1; #endif return argv0; |