summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fs_vtech.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/fs_vtech.cpp')
-rw-r--r--src/lib/formats/fs_vtech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/fs_vtech.cpp b/src/lib/formats/fs_vtech.cpp
index e294e657801..7b8edf53f63 100644
--- a/src/lib/formats/fs_vtech.cpp
+++ b/src/lib/formats/fs_vtech.cpp
@@ -137,7 +137,7 @@ std::vector<dir_entry> vtech_image::impl::root_dir::contents()
if(bdir.r8(off+1) != ':')
continue;
std::string fname = trim_end_spaces(bdir.rstr(off+2, 8));
- res.emplace_back(dir_entry(fname, dir_entry_type::file, id));
+ res.emplace_back(dir_entry(std::move(fname), dir_entry_type::file, id));
id++;
}
}