about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/serialise.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/serialise.hh')
-rw-r--r--third_party/nix/src/libutil/serialise.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/libutil/serialise.hh b/third_party/nix/src/libutil/serialise.hh
index fbedf0510aa1..d088252fb69e 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));