From 63d2400a2c1cff42a8e3ea3d8b4c77b862c82bc7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Sep 2017 00:14:37 +0200 Subject: Undo modularization hacks for VC --- libbutl/path.mxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'libbutl/path.mxx') diff --git a/libbutl/path.mxx b/libbutl/path.mxx index 31101fc..4d843e5 100644 --- a/libbutl/path.mxx +++ b/libbutl/path.mxx @@ -18,7 +18,6 @@ #include #ifdef _WIN32 -#include // toupper/lower() @@ MOD TMP #include // replace() #endif #endif @@ -548,8 +547,6 @@ LIBBUTL_MODEXPORT namespace butl base_type (path_data&& d): path_data (std::move (d)) {} }; - //using base_type = path_data; // @@ MOD VC-ICE - using dir_type = basic_path>; // Init and cast. @@ -590,8 +587,6 @@ LIBBUTL_MODEXPORT namespace butl cast (data_type&); }; - struct exact_path_type {}; //@@ MOD TMP - template class basic_path: public K::base_type { @@ -638,9 +633,8 @@ LIBBUTL_MODEXPORT namespace butl // untouched. Note that no exception is thrown if the path is invalid. See // also representation()&& below. // - //@@ MOD VC-ICE enum exact_type {exact}; - static const exact_path_type exact; - basic_path (string_type&& s, exact_path_type) + enum exact_type {exact}; + basic_path (string_type&& s, exact_type) : base_type (K::init (std::move (s), true)) {} // Create a path as a sub-path identified by the [begin, end) range of @@ -1084,9 +1078,7 @@ LIBBUTL_MODEXPORT namespace butl explicit basic_path (data_type&& d): base_type (std::move (d)) {} - #ifndef _MSC_VER //@@ MOD VC ICE using base_type::_size; - #endif // Common implementation for operator/= and operator+=. // -- cgit v1.1