summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc2
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