diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-31 20:21:03 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-03 19:02:43 +0000 |
commit | 8000e52bd39ecce1c31feffdde435853bde48e9a (patch) | |
tree | 51f730b7d6442aa507487023506fd8db19fa1365 /libpqpp | |
parent | Remove boost::filesystem in favour of std::filesystem (diff) | |
download | libdbpp-postgresql-8000e52bd39ecce1c31feffdde435853bde48e9a.tar.bz2 libdbpp-postgresql-8000e52bd39ecce1c31feffdde435853bde48e9a.tar.xz libdbpp-postgresql-8000e52bd39ecce1c31feffdde435853bde48e9a.zip |
Remove unnecessary calls to .string()
Diffstat (limited to 'libpqpp')
-rw-r--r-- | libpqpp/unittests/testpq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index 954366a..e5d86ef 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -167,7 +167,7 @@ BOOST_AUTO_TEST_CASE( bulkload ) assertScalarValueHelper(*count, 0); // Test sample file ro->beginBulkUpload("bulktest", ""); - std::ifstream in((rootDir / "bulk.sample").string()); + std::ifstream in(rootDir / "bulk.sample"); if (!in.good()) throw std::runtime_error("Couldn't open bulk.sample"); char buf[BUFSIZ]; for (std::streamsize r; (r = in.readsome(buf, sizeof(buf))) > 0; ) { |