summaryrefslogtreecommitdiff
path: root/libdbpp/unittests/testParse.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-31 20:21:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-03 18:59:19 +0000
commit3cf634ef09e36e9d2bb4bdbfe393533afdefff56 (patch)
tree9c8b5e19a54f7696d9f3e17e22187b332a25ca77 /libdbpp/unittests/testParse.cpp
parentRemove boost::filesystem in favour of std::filesystem (diff)
downloadlibdbpp-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.cpp2
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())
{
}