Skip to content

Commit

Permalink
Merge pull request #196 from jkflying/patch-1
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
vitaut committed Aug 17, 2015
2 parents 32fbc08 + 11395c4 commit 2923d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
};
Expand Down

0 comments on commit 2923d7f

Please sign in to comment.