diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-12-23 13:16:26 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-12-23 14:43:26 (GMT) |
commit | 491ddd570a752cf9bda85933bed0c6942e39b1f9 (patch) | |
tree | 10c25c1be8cc08d0497df1dccd56a10fbb30beee /3rdParty/Boost/src/tools/bcp/bcp_imp.cpp | |
parent | da7d7a0ca71b80281aa9ff2526290b61ccb0cc60 (diff) | |
download | swift-contrib-491ddd570a752cf9bda85933bed0c6942e39b1f9.zip swift-contrib-491ddd570a752cf9bda85933bed0c6942e39b1f9.tar.bz2 |
Update Boost to 1.52.0.
Change-Id: I1e56bea2600bf2ed9c5b3aba8c4f9d2a0f350e77
Diffstat (limited to '3rdParty/Boost/src/tools/bcp/bcp_imp.cpp')
-rw-r--r-- | 3rdParty/Boost/src/tools/bcp/bcp_imp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdParty/Boost/src/tools/bcp/bcp_imp.cpp b/3rdParty/Boost/src/tools/bcp/bcp_imp.cpp index 5801735..cfce215 100644 --- a/3rdParty/Boost/src/tools/bcp/bcp_imp.cpp +++ b/3rdParty/Boost/src/tools/bcp/bcp_imp.cpp @@ -121,7 +121,7 @@ void bcp_implementation::set_namespace_list(bool b) fs::path get_short_path(const fs::path& p) { // truncate path no more than "x/y": - std::string s = p.string(); + std::string s = p.generic_string(); std::string::size_type n = s.find('/'); if(n != std::string::npos) { @@ -244,7 +244,7 @@ int bcp_implementation::run() std::cout << "\n\nThe top level namespaces found for header and source files were:\n"; while(i != j) { - if(regex_match(i->second.string(), important_file)) + if(regex_match(i->second.generic_string(), important_file)) std::cout << i->first << " (from " << i->second << ")" << std::endl; ++i; } @@ -253,7 +253,7 @@ int bcp_implementation::run() std::cout << "\n\nThe top level namespaces found for all other source files were:\n"; while(i != j) { - if(!regex_match(i->second.string(), important_file)) + if(!regex_match(i->second.generic_string(), important_file)) std::cout << i->first << " (from " << i->second << ")" << std::endl; ++i; } |