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:
parent
6e9203faa0
commit
62bf47d0ed
1 changed files with 5 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue