summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-28 18:29:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-28 20:13:32 +0100
commit78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 (patch)
tree4539ba47695bc7b5fd974e2508067cb2fd168636 /anim-crop-tool
parent75508e3c03f659080df7db2211fb5a80cc1afeee (diff)
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'anim-crop-tool')
-rw-r--r--anim-crop-tool/main.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp
index 919e80d3..7ba31b6e 100644
--- a/anim-crop-tool/main.cpp
+++ b/anim-crop-tool/main.cpp
@@ -19,7 +19,6 @@
#include <Corrade/Utility/Arguments.h>
#include <Corrade/Utility/DebugStl.h>
-#include <Corrade/Utility/Move.h>
#include <Corrade/Utility/Path.h>
#include <Magnum/Math/Functions.h>
@@ -82,7 +81,7 @@ bool load_file(anim_group& group, options& opts, anim_atlas_& atlas, StringView
Error{} << "error: failed to load" << filename << "as RGBA32 image";
return cv::Mat4b{};
}
- return cv::Mat4b(Utility::move(mat));
+ return cv::Mat4b(move(mat));
}();
if (mat.empty())
@@ -128,7 +127,7 @@ bool load_file(anim_group& group, options& opts, anim_atlas_& atlas, StringView
const Vector2ui dest_size_ = { (unsigned)dest_size.width, (unsigned)dest_size.height };
arrayAppend(group.frames, {ground, atlas.offset(), dest_size_});
- atlas.add_entry({&group.frames.back(), Utility::move(resized)});
+ atlas.add_entry({&group.frames.back(), move(resized)});
return true;
}
@@ -232,7 +231,7 @@ arg_tuple parse_cmdline(int argc, const char* const* argv) noexcept
if (opts.output_dir.isEmpty())
opts.output_dir = opts.input_dir;
- return { Utility::move(opts), Utility::move(args), true };
+ return { move(opts), move(args), true };
}
[[nodiscard]] int usage(const Arguments& args) noexcept