aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-06-03 15:30:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-06-18 15:05:38 +0300
commit8e069039aaa63fab272971920212864da67a0720 (patch)
tree84248f241207e0ae2da857d743530a1342178665
parenta4b49e376b6ccac63c84ccb15530c13d3452fecd (diff)
Fix compilation bug in basic_path::root_directory()
-rw-r--r--butl/path.ixx4
1 files changed, 3 insertions, 1 deletions
diff --git a/butl/path.ixx b/butl/path.ixx
index c2047eb..8dac717 100644
--- a/butl/path.ixx
+++ b/butl/path.ixx
@@ -198,7 +198,9 @@ namespace butl
{
return absolute ()
#ifdef _WIN32
- ? dir_type (this->path_, 2)
+ // Disambiguate with dir_type(string_type,bool).
+ //
+ ? dir_type (this->path_, static_cast<size_type> (2))
#else
? dir_type ("/")
#endif