about summary refs log tree commit diff
path: root/third_party/nix/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil')
-rw-r--r--third_party/nix/src/libutil/args.hh4
-rw-r--r--third_party/nix/src/libutil/serialise.hh6
-rw-r--r--third_party/nix/src/libutil/thread-pool.hh8
-rw-r--r--third_party/nix/src/libutil/types.hh4
4 files changed, 11 insertions, 11 deletions
diff --git a/third_party/nix/src/libutil/args.hh b/third_party/nix/src/libutil/args.hh
index 37904b19aa..409ea80f2d 100644
--- a/third_party/nix/src/libutil/args.hh
+++ b/third_party/nix/src/libutil/args.hh
@@ -10,9 +10,9 @@
 
 namespace nix {
 
-MakeError(UsageError, Error)
+MakeError(UsageError, Error);
 
-    enum HashType : char;
+enum HashType : char;
 
 class Args {
  public:
diff --git a/third_party/nix/src/libutil/serialise.hh b/third_party/nix/src/libutil/serialise.hh
index fbedf0510a..d088252fb6 100644
--- a/third_party/nix/src/libutil/serialise.hh
+++ b/third_party/nix/src/libutil/serialise.hh
@@ -235,10 +235,10 @@ Sink& operator<<(Sink& sink, const std::string& s);
 Sink& operator<<(Sink& sink, const Strings& s);
 Sink& operator<<(Sink& sink, const StringSet& s);
 
-MakeError(SerialisationError, Error)
+MakeError(SerialisationError, Error);
 
-    template <typename T>
-    T readNum(Source& source) {
+template <typename T>
+T readNum(Source& source) {
   unsigned char buf[8];
   source(buf, sizeof(buf));
 
diff --git a/third_party/nix/src/libutil/thread-pool.hh b/third_party/nix/src/libutil/thread-pool.hh
index 23527b907a..71006238b3 100644
--- a/third_party/nix/src/libutil/thread-pool.hh
+++ b/third_party/nix/src/libutil/thread-pool.hh
@@ -11,11 +11,11 @@
 
 namespace nix {
 
-MakeError(ThreadPoolShutDown, Error)
+MakeError(ThreadPoolShutDown, Error);
 
-    /* A simple thread pool that executes a queue of work items
-       (lambdas). */
-    class ThreadPool {
+/* A simple thread pool that executes a queue of work items
+   (lambdas). */
+class ThreadPool {
  public:
   ThreadPool(size_t maxThreads = 0);
 
diff --git a/third_party/nix/src/libutil/types.hh b/third_party/nix/src/libutil/types.hh
index 3d37e4efee..dae81fb94b 100644
--- a/third_party/nix/src/libutil/types.hh
+++ b/third_party/nix/src/libutil/types.hh
@@ -93,9 +93,9 @@ class BaseError : public std::exception {
     using superClass::superClass;       \
   };
 
-MakeError(Error, BaseError)
+MakeError(Error, BaseError);
 
-    class SysError : public Error {
+class SysError : public Error {
  public:
   int errNo;