From 8000e52bd39ecce1c31feffdde435853bde48e9a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 31 Jan 2019 20:21:03 +0000 Subject: Remove unnecessary calls to .string() --- libpqpp/unittests/testpq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpqpp/unittests') 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; ) { -- cgit v1.2.3