aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/worker-protocol.hh
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-08-06 16:04:18 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-08-06 16:04:18 -0400
commit3d8240c32eedd0809450be52e4ac7625ffdad9aa (patch)
tree5f865cc760554f8f78db03bda3d6291056fdb230 /src/libstore/worker-protocol.hh
parentf795f0fabc785cd2eb2ccfec71564c8af819ecf4 (diff)
Remove leftover commented code
Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r--src/libstore/worker-protocol.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh
index b4c260e26..3bb27ab22 100644
--- a/src/libstore/worker-protocol.hh
+++ b/src/libstore/worker-protocol.hh
@@ -136,7 +136,6 @@ void write(const Store & store, Sink & out, const std::map<K, V> & resMap)
{
out << resMap.size();
for (auto & i : resMap) {
- // out << i.first;
write(store, out, i.first);
write(store, out, i.second);
}
@@ -150,7 +149,6 @@ std::optional<T> read(const Store & store, Source & from, Phantom<std::optional<
case 0:
return std::nullopt;
case 1:
- // return nix::worker_proto::read(store, from, Phantom<T> {});
return read(store, from, Phantom<T> {});
default:
throw Error("got an invalid tag bit for std::optional: %#04x", (size_t)tag);