Merge pull request #196 from jkflying/patch-1

Fix warnings
This commit is contained in:
Victor Zverovich 2015-08-17 06:24:47 -07:00
commit 2923d7f588

View File

@ -1046,7 +1046,7 @@ struct NamedArg : Arg {
template <typename T>
NamedArg(BasicStringRef<Char> argname, const T &value)
: name(argname), Arg(MakeValue<Char>(value)) {
: Arg(MakeValue<Char>(value)), name(argname) {
type = static_cast<internal::Arg::Type>(MakeValue<Char>::type(value));
}
};