about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/args.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/args.hh')
-rw-r--r--third_party/nix/src/libutil/args.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/libutil/args.hh b/third_party/nix/src/libutil/args.hh
index ba6582abe424..63637533359b 100644
--- a/third_party/nix/src/libutil/args.hh
+++ b/third_party/nix/src/libutil/args.hh
@@ -8,7 +8,7 @@
 
 namespace nix {
 
-MakeError(UsageError, Error);
+MakeError(UsageError, Error)
 
 enum HashType : char;
 
@@ -118,14 +118,14 @@ class Args {
       flag->arity = 1;
       flag->handler = [=](std::vector<std::string> ss) { *dest = ss[0]; };
       return *this;
-    };
+    }
 
     template <class T>
     FlagMaker& set(T* dest, const T& val) {
       flag->arity = 0;
       flag->handler = [=](std::vector<std::string> ss) { *dest = val; };
       return *this;
-    };
+    }
 
     FlagMaker& mkHashTypeFlag(HashType* ht);
   };