This commit is contained in:
Eelco Dolstra 2017-09-25 13:25:55 +02:00
parent 84f112b1c8
commit e350671737
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

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;
};