mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Doh
This commit is contained in:
parent
84f112b1c8
commit
e350671737
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public:
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
FlagMaker & set(T * dest, const T & val) {
|
FlagMaker & set(T * dest, const T & val) {
|
||||||
flag->arity = 1;
|
flag->arity = 0;
|
||||||
flag->handler = [=](Strings ss) { *dest = val; };
|
flag->handler = [=](Strings ss) { *dest = val; };
|
||||||
return *this;
|
return *this;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue