Use btree set in console list dirs

pull/584/head
Jonathan G Rennison 10 months ago
parent 4202afc0bc
commit cc9daf4128

@ -63,7 +63,7 @@
#include "object_base.h"
#include <time.h>
#include <set>
#include "3rdparty/cpp-btree/btree_set.h"
#include <sstream>
@ -2410,7 +2410,7 @@ DEF_CONSOLE_CMD(ConListDirs)
return true;
}
std::set<std::string> seen_dirs;
btree::btree_set<std::string> seen_dirs;
for (const SubdirNameMap &sdn : subdir_name_map) {
if (!StrEqualsIgnoreCase(argv[1], sdn.name)) continue;
bool found = false;

Loading…
Cancel
Save