Bad emplace_back code position fix

This commit is contained in:
Rascafr 2020-09-11 20:46:41 +02:00
parent ccb3937e37
commit fcdbedca98

View File

@ -29,7 +29,6 @@ std::vector<std::string> get_freqman_files() {
auto files = scan_root_files(u"FREQMAN", u"*.TXT");
for (auto file : files) {
file_list.emplace_back(file.stem().string());
std::string file_name = file.stem().string();
// don't propose tmp / hidden files in freqman's list
if (file_name.length() && file_name[0] != '.') {