diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-31 20:21:16 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-03 18:59:19 +0000 |
commit | 3cf634ef09e36e9d2bb4bdbfe393533afdefff56 (patch) | |
tree | 9c8b5e19a54f7696d9f3e17e22187b332a25ca77 /libdbpp/unittests/testParse.cpp | |
parent | Remove boost::filesystem in favour of std::filesystem (diff) | |
download | libdbpp-3cf634ef09e36e9d2bb4bdbfe393533afdefff56.tar.bz2 libdbpp-3cf634ef09e36e9d2bb4bdbfe393533afdefff56.tar.xz libdbpp-3cf634ef09e36e9d2bb4bdbfe393533afdefff56.zip |
Remove unnecessary calls to .string()
Diffstat (limited to 'libdbpp/unittests/testParse.cpp')
-rw-r--r-- | libdbpp/unittests/testParse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/unittests/testParse.cpp b/libdbpp/unittests/testParse.cpp index 491e8e6..dcd11d6 100644 --- a/libdbpp/unittests/testParse.cpp +++ b/libdbpp/unittests/testParse.cpp @@ -15,7 +15,7 @@ BOOST_TEST_SPECIALIZED_COLLECTION_COMPARE(SQLs); class RecordingParser : std::fstream, public DB::SqlParse { public: RecordingParser(const std::filesystem::path & p) : - std::fstream(p.string()), + std::fstream(p), DB::SqlParse(*this, p.parent_path()) { } |