diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 18:29:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-28 20:13:32 +0100 |
commit | 78a3eec9be053a1f82cf2e6235bbaa4deb4a1335 (patch) | |
tree | 4539ba47695bc7b5fd974e2508067cb2fd168636 /serialize/wall-atlas.cpp | |
parent | 75508e3c03f659080df7db2211fb5a80cc1afeee (diff) |
switch to using unqualified calls to {move,forward,swap}
Diffstat (limited to 'serialize/wall-atlas.cpp')
-rw-r--r-- | serialize/wall-atlas.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/serialize/wall-atlas.cpp b/serialize/wall-atlas.cpp index 4e661674..3e120bb5 100644 --- a/serialize/wall-atlas.cpp +++ b/serialize/wall-atlas.cpp @@ -109,7 +109,7 @@ wall_atlas_def wall_atlas_def::deserialize(StringView filename) auto [dirs, dir_indexes, mask] = read_all_directions(jroot); fm_soft_assert(!dirs.isEmpty()); fm_soft_assert(dir_indexes != std::array<Wall::DirArrayIndex, Direction_COUNT>{}); - atlas.direction_array = std::move(dirs); + atlas.direction_array = move(dirs); atlas.direction_map = dir_indexes; atlas.direction_mask = mask; @@ -268,9 +268,9 @@ void write_all_frames(json& jroot, ArrayView<const Frame> array) for (const Frame& frame : array) { json jframe = frame; - jframes.push_back(std::move(jframe)); + jframes.push_back(move(jframe)); } - jroot["frames"] = std::move(jframes); + jroot["frames"] = move(jframes); } void write_group_metadata(json& jgroup, const Group& val) @@ -318,7 +318,7 @@ void write_all_directions(json& jroot, const wall_atlas& a) { auto jdir = json{}; write_direction_metadata(jdir, *dir); - jroot[name] = std::move(jdir); + jroot[name] = move(jdir); } } } |