From 8e069039aaa63fab272971920212864da67a0720 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 3 Jun 2016 15:30:01 +0300 Subject: Fix compilation bug in basic_path::root_directory() --- butl/path.ixx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'butl/path.ixx') 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 (2)) #else ? dir_type ("/") #endif -- cgit v1.1