diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 17:30:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-06 17:30:31 +0200 |
commit | 437dd5940bad6133561cb896cd558881fa5c8b44 (patch) | |
tree | b8f8103801d0f232ae05e728e83774673ae8413f /serialize/anim.cpp | |
parent | ded69f52906990cf975a62c0efbaca4b6cfa5e88 (diff) |
a
Diffstat (limited to 'serialize/anim.cpp')
-rw-r--r-- | serialize/anim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/serialize/anim.cpp b/serialize/anim.cpp index b7d3ce95..dffe2449 100644 --- a/serialize/anim.cpp +++ b/serialize/anim.cpp @@ -23,14 +23,14 @@ NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim, name, nframes, actionframe, fps, groups # pragma clang diagnostic pop #endif -std::tuple<anim, bool> anim::from_json(const std::filesystem::path& pathname) noexcept +std::tuple<anim, bool> anim::from_json(const std::filesystem::path& pathname) { - return json_helper<anim>::from_json(pathname); + return json_helper::from_json<anim>(pathname); } -bool anim::to_json(const std::filesystem::path& pathname) const noexcept +bool anim::to_json(const std::filesystem::path& pathname) const { - return json_helper<anim>::to_json(*this, pathname); + return json_helper::to_json(*this, pathname); } } // namespace Magnum::Examples::Serialize |