diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-10-29 19:40:43 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-10-31 14:27:10 +0100 |
commit | cc50d2db6418690470ead3faf71e0818eff1b8e4 (patch) | |
tree | f8061836e15b87c78b4aef5009849cecda77eb18 | |
parent | 8868e95a023540e1d5007e9b5d8d1bf35a7ae9c6 (diff) |
Fix clang warning; don't explicitly move
-rw-r--r-- | src/object1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object1.cc b/src/object1.cc index 95cd0522..eca26087 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -5268,7 +5268,7 @@ static bool_ get_item_floor(int *cp, cptr pmt, cptr str, int mode, object_filter /* Floor items? */ auto const floor_list = - floor ? std::move(scan_floor(p_ptr->py, p_ptr->px, filter)) + floor ? scan_floor(p_ptr->py, p_ptr->px, filter) : std::vector<int>(); assert(floor_list.size() <= 23); int const floor_num = floor_list.size(); // "int" for warning avoidance |