aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/path.mxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/path.mxx b/libbutl/path.mxx
index 4f3a028..114c25a 100644
--- a/libbutl/path.mxx
+++ b/libbutl/path.mxx
@@ -102,11 +102,11 @@ LIBBUTL_MODEXPORT namespace butl
// Canonical directory and path seperators.
//
#ifdef _WIN32
- static const C directory_separator = '\\';
- static const C path_separator = ';';
+ static constexpr const C directory_separator = '\\';
+ static constexpr const C path_separator = ';';
#else
- static C const directory_separator = '/';
- static C const path_separator = ':';
+ static constexpr const C directory_separator = '/';
+ static constexpr const C path_separator = ':';
#endif
// Canonical and alternative directory separators. Canonical should be