aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-27 11:44:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-27 11:44:05 +0300
commitdd8858c02db1655443dd16dfb5670180b5d01d83 (patch)
tree16b64ff94d4ae1d3b57d8b553e528de847aefbc4
parente5bfd17637bf297c3cfe509d51027916864092d5 (diff)
Resolve ambiguity between std:: and butl:: nullopt
-rw-r--r--tests/url/driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/url/driver.cxx b/tests/url/driver.cxx
index 95fe9cb..b48e2ed 100644
--- a/tests/url/driver.cxx
+++ b/tests/url/driver.cxx
@@ -137,6 +137,8 @@ int
main (int argc, const char* argv[])
try
{
+ using butl::nullopt; // Disambiguate with std::nullopt.
+
using wurl = basic_url<scheme>;
using wurl_authority = wurl::authority_type;
using wurl_host = wurl::host_type;