diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-23 00:14:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-23 00:14:37 +0200 |
commit | 63d2400a2c1cff42a8e3ea3d8b4c77b862c82bc7 (patch) | |
tree | 6c86fc57033b472818bdc89c873b204d8fafbc6e /libbutl/path.mxx | |
parent | c09cd7512491cee1e82c1ad8128ce9fd4bc3f79b (diff) |
Undo modularization hacks for VC
Diffstat (limited to 'libbutl/path.mxx')
-rw-r--r-- | libbutl/path.mxx | 12 |
1 files changed, 2 insertions, 10 deletions
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 <vector> #ifdef _WIN32 -#include <cctype> // toupper/lower() @@ MOD TMP #include <algorithm> // replace() #endif #endif @@ -548,8 +547,6 @@ LIBBUTL_MODEXPORT namespace butl base_type (path_data<C>&& d): path_data<C> (std::move (d)) {} }; - //using base_type = path_data<C>; // @@ MOD VC-ICE - using dir_type = basic_path<C, dir_path_kind<C>>; // Init and cast. @@ -590,8 +587,6 @@ LIBBUTL_MODEXPORT namespace butl cast (data_type&); }; - struct exact_path_type {}; //@@ MOD TMP - template <typename C, typename K> 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+=. // |