summaryrefslogtreecommitdiff
path: root/src/file.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-15 18:25:59 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-15 18:25:59 +0000
commit7d9f1df73a982c93a654ad67b70e34b3a9902aad (patch)
tree3c238ad320f2ac21f3a034b5713536c9bc6f677f /src/file.hh
parent458dd2e9fa96e5e75dde68b135aa43eae470c491 (diff)
Small code tweaks regarding flags handling
Diffstat (limited to 'src/file.hh')
-rw-r--r--src/file.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file.hh b/src/file.hh
index 1ecb1090..7cb5f88c 100644
--- a/src/file.hh
+++ b/src/file.hh
@@ -2,7 +2,7 @@
#define file_hh_INCLUDED
#include "array_view.hh"
-#include "flags.hh"
+#include "meta.hh"
#include "units.hh"
#include "vector.hh"
@@ -78,7 +78,6 @@ enum class FilenameFlags
OnlyDirectories = 1 << 0,
Expand = 1 << 1
};
-
constexpr bool with_bit_ops(Meta::Type<FilenameFlags>) { return true; }
CandidateList complete_filename(StringView prefix, const Regex& ignore_regex,