aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-01 17:17:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-01 17:17:35 +0200
commit5de58425e88f274adeb2c552c00a2eafb170c84c (patch)
treee3520f63b5493dea66a6408d3ef4abf5ef5cc522 /tests
parentdb08c1f53897cb55f9094eb14f61db7a821c152b (diff)
Resolve optional ambiguity in GCC 7
Diffstat (limited to 'tests')
-rw-r--r--tests/load/driver.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index dab5be9..868b393 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -20,7 +20,9 @@
#include <libbrep/package.hxx>
#include <libbrep/package-odb.hxx>
-using namespace std;
+using std::cerr;
+using std::endl;
+
using namespace odb::core;
using namespace butl;
using namespace brep;
@@ -90,7 +92,7 @@ main (int argc, char* argv[])
else if (n == "--db-host" || n == "-h")
host = argv[++i];
else if (n == "--db-port" || n == "-p")
- port = stoul (argv[++i]);
+ port = std::stoul (argv[++i]);
}
if (i != argc - 1)