diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-31 20:13:36 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-03 18:59:19 +0000 |
commit | 182e69a998a73d2f62c5dc6c3b85de24999b3673 (patch) | |
tree | 1c4da30b7b5b57dda0505bfb0bfd74366efb1659 /libdbpp/unittests/testParse.cpp | |
parent | Update doxygen comments (diff) | |
download | libdbpp-182e69a998a73d2f62c5dc6c3b85de24999b3673.tar.bz2 libdbpp-182e69a998a73d2f62c5dc6c3b85de24999b3673.tar.xz libdbpp-182e69a998a73d2f62c5dc6c3b85de24999b3673.zip |
Remove boost::filesystem in favour of std::filesystem
Diffstat (limited to 'libdbpp/unittests/testParse.cpp')
-rw-r--r-- | libdbpp/unittests/testParse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbpp/unittests/testParse.cpp b/libdbpp/unittests/testParse.cpp index b5f3d65..491e8e6 100644 --- a/libdbpp/unittests/testParse.cpp +++ b/libdbpp/unittests/testParse.cpp @@ -14,7 +14,7 @@ BOOST_TEST_SPECIALIZED_COLLECTION_COMPARE(SQLs); class RecordingParser : std::fstream, public DB::SqlParse { public: - RecordingParser(const boost::filesystem::path & p) : + RecordingParser(const std::filesystem::path & p) : std::fstream(p.string()), DB::SqlParse(*this, p.parent_path()) { @@ -35,7 +35,7 @@ class RecordingParser : std::fstream, public DB::SqlParse { }; template<typename E = DB::SqlParseException> -void assertFail(const boost::filesystem::path & p) +void assertFail(const std::filesystem::path & p) { BOOST_TEST_CONTEXT(p) { BOOST_REQUIRE_THROW({ |