1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-02-17 11:45:50 +00:00

Warning fix on clang

This commit is contained in:
King_DuckZ 2016-05-19 20:25:00 +02:00
parent 6e9203faa0
commit 62bf47d0ed

View file

@ -29,11 +29,12 @@
#include <vector>
#include <iterator>
namespace {
BETTER_ENUM(TaggingMode, char,
Glob, ID
);
//Leave this out of the unnamed namespace to avoid all the "unused function" warnings
BETTER_ENUM(TaggingMode, char,
Glob, ID
);
namespace {
std::vector<std::string> globs_to_regex_list (const std::vector<std::string>& parGlobs) {
std::vector<std::string> retval;
retval.reserve(parGlobs.size());