summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/fs_vtech.cpp
diff options
context:
space:
mode:
author npwoods <npwoods@mess.org>2022-06-11 08:24:49 -0400
committer GitHub <noreply@github.com>2022-06-11 14:24:49 +0200
commit7f0905bec30a608514bebee3aa13c1d9e75a3d0d (patch)
treef686f1867b3f4c63d6d751891e7365bf8879f326 /src/lib/formats/fs_vtech.cpp
parentf47f9c3db3c7d20bea0526425cdbc469d5a10868 (diff)
Changed the constructor of fs::dir_entry to take 'std::string &&name' instead of 'const std::string &name' (#9913)
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++;
}
}