diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-22 23:32:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-09-22 23:32:28 +0200 |
commit | c09cd7512491cee1e82c1ad8128ce9fd4bc3f79b (patch) | |
tree | a659ed768d849130ab5780a11b7f791a463a1a91 /libbutl/path.txx | |
parent | 2a00871f07067f8f9e2de08bb9c8f50e1bf6a650 (diff) |
Initial modularization with both Clang and VC hacks
Note: gave up on VC about half way though.
Diffstat (limited to 'libbutl/path.txx')
-rw-r--r-- | libbutl/path.txx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libbutl/path.txx b/libbutl/path.txx index 17673f8..512e849 100644 --- a/libbutl/path.txx +++ b/libbutl/path.txx @@ -2,14 +2,7 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <vector> -#include <cassert> - -#ifdef _WIN32 -# include <algorithm> // replace() -#endif - -namespace butl +LIBBUTL_MODEXPORT namespace butl //@@ MOD Clang needs this for some reason. { template <typename C, typename K> basic_path<C, K> basic_path<C, K>:: @@ -138,6 +131,7 @@ namespace butl // Throw system_error in case of other failures. Result and dir can be the // same instance. // + LIBBUTL_MODEXPORT //@@ MOD VC doesn't "see" it in impl unit unless exported. template <typename C> bool basic_path_append_actual_name (std::basic_string<C>& result, |