diff options
Diffstat (limited to 'third_party/nix/src/libutil/serialise.hh')
-rw-r--r-- | third_party/nix/src/libutil/serialise.hh | 6 |
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)); |