diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-03T10·56+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-09-03T10·56+0200 |
commit | 71a5161365f40699092e491bbff88473237fc432 (patch) | |
tree | 02d1303475e895283707e5548d4d93385730d222 /src/libutil/serialise.cc | |
parent | 6e06a18d1b45ab50f54f527570aeff40201090ff (diff) |
Implement buildDerivation() via the daemon
Diffstat (limited to 'src/libutil/serialise.cc')
-rw-r--r-- | src/libutil/serialise.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libutil/serialise.cc b/src/libutil/serialise.cc index f8e9d00c12b8..f136a13248ba 100644 --- a/src/libutil/serialise.cc +++ b/src/libutil/serialise.cc @@ -248,6 +248,13 @@ Source & operator >> (Source & in, string & s) } +Source & operator >> (Source & in, unsigned int & n) +{ + n = readInt(in); + return in; +} + + template<class T> T readStrings(Source & source) { unsigned int count = readInt(source); |