mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-03 14:14:11 +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 <vector>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
namespace {
|
//Leave this out of the unnamed namespace to avoid all the "unused function" warnings
|
||||||
BETTER_ENUM(TaggingMode, char,
|
BETTER_ENUM(TaggingMode, char,
|
||||||
Glob, ID
|
Glob, ID
|
||||||
);
|
);
|
||||||
|
|
||||||
|
namespace {
|
||||||
std::vector<std::string> globs_to_regex_list (const std::vector<std::string>& parGlobs) {
|
std::vector<std::string> globs_to_regex_list (const std::vector<std::string>& parGlobs) {
|
||||||
std::vector<std::string> retval;
|
std::vector<std::string> retval;
|
||||||
retval.reserve(parGlobs.size());
|
retval.reserve(parGlobs.size());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue