aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Belikov <pavel.fuchs.belikov@gmail.com>2018-05-04 19:50:28 +0300
committerPavel Belikov <pavel.fuchs.belikov@gmail.com>2018-05-04 19:50:28 +0300
commit285168df060e0bb09c17821e8311d6aa6fb12451 (patch)
treed2d4fd54fd11a2381290b8cb9bb694770614a3fd
parentAdd Travis CI builds for g++-7, g++-8 (diff)
downloadargs.hxx-285168df060e0bb09c17821e8311d6aa6fb12451.tar.xz
Fix gcc 8 warning
-rw-r--r--args.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/args.hxx b/args.hxx
index 655718f..62bbfb3 100644
--- a/args.hxx
+++ b/args.hxx
@@ -1761,7 +1761,7 @@ namespace args
{
parserCoroutine(coro.Parser());
}
- catch (args::SubparserError)
+ catch (args::SubparserError&)
{
}
#else