diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-06-07 12:05:48 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-06-07 12:05:48 +0300 |
commit | 0eb47d30299b63748a2796a9439e53765a5ff101 (patch) | |
tree | e5e4cbd04031afc01a572b9d36e38e4098b9c506 /test/tests/current_path.cpp | |
parent | 9d2321f2d4ea7076159d984fcf734a415cc9bdd1 (diff) |
AFIO core library now compiles clean using experimental status_code, unit tests remain to be fixed.
Diffstat (limited to 'test/tests/current_path.cpp')
-rw-r--r-- | test/tests/current_path.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/tests/current_path.cpp b/test/tests/current_path.cpp index 3f2ae559..23346a8c 100644 --- a/test/tests/current_path.cpp +++ b/test/tests/current_path.cpp @@ -50,7 +50,7 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te BOOST_CHECK(h1path); if(!h1path) { - std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message() << std::endl; + std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message().c_str() << std::endl; } else if(h1path.value().empty()) { @@ -66,7 +66,7 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te BOOST_CHECK(h2path); if(!h2path) { - std::cerr << "Getting the current path of a directory FAILED due to " << h2path.error().message() << std::endl; + std::cerr << "Getting the current path of a directory FAILED due to " << h2path.error().message().c_str() << std::endl; } else if(h2path.value().empty()) { @@ -87,7 +87,7 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te BOOST_CHECK(h1path); if(!h1path) { - std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message() << std::endl; + std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message().c_str() << std::endl; } else if(h1path.value().empty()) { @@ -108,7 +108,7 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te BOOST_CHECK(h2path); if(!h2path) { - std::cerr << "Getting the current path of a directory FAILED due to " << h2path.error().message() << std::endl; + std::cerr << "Getting the current path of a directory FAILED due to " << h2path.error().message().c_str() << std::endl; } else if(h2path.value().empty()) { @@ -133,7 +133,7 @@ template <class FileHandleType, class DirectoryHandleType> static inline void Te BOOST_CHECK(h1path); if(!h1path) { - std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message() << std::endl; + std::cerr << "Getting the current path of a file FAILED due to " << h1path.error().message().c_str() << std::endl; } else if(h1path.value().empty()) { |