This commit is contained in:
Eelco Dolstra
2017-09-25 13:25:55 +02:00
parent 84f112b1c8
commit e350671737

View File

@@ -90,7 +90,7 @@ public:
template<class T>
FlagMaker & set(T * dest, const T & val) {
flag->arity = 1;
flag->arity = 0;
flag->handler = [=](Strings ss) { *dest = val; };
return *this;
};