summaryrefslogtreecommitdiffstats
path: root/arg_parser.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:38 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:28:38 +0000
commit891c72a3374b810770cc6d85cb703ae158497d6f (patch)
tree8dcb364bfefef691ae2a6ad970b70cb7f7f760fb /arg_parser.h
parentAdding debian version 0.7-5. (diff)
downloadplzip-891c72a3374b810770cc6d85cb703ae158497d6f.tar.xz
plzip-891c72a3374b810770cc6d85cb703ae158497d6f.zip
Merging upstream version 0.8.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'arg_parser.h')
-rw-r--r--arg_parser.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arg_parser.h b/arg_parser.h
index da1cc94..5d036ab 100644
--- a/arg_parser.h
+++ b/arg_parser.h
@@ -1,5 +1,6 @@
-/* Arg_parser - A POSIX/GNU command line argument parser. (C++ version)
- Copyright (C) 2006, 2007, 2008, 2009, 2010 Antonio Diaz Diaz.
+/* Arg_parser - POSIX/GNU command line argument parser. (C++ version)
+ Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ Antonio Diaz Diaz.
This library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -65,7 +66,7 @@ private:
{
int code;
std::string argument;
- Record( const int c = 0 ) : code( c ) {}
+ explicit Record( const int c = 0 ) : code( c ) {}
};
std::string error_;