mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 08:16:14 +02:00
Remove leftover commented code
This commit is contained in:
parent
f795f0fabc
commit
3d8240c32e
1 changed files with 0 additions and 2 deletions
|
@ -136,7 +136,6 @@ void write(const Store & store, Sink & out, const std::map<K, V> & resMap)
|
||||||
{
|
{
|
||||||
out << resMap.size();
|
out << resMap.size();
|
||||||
for (auto & i : resMap) {
|
for (auto & i : resMap) {
|
||||||
// out << i.first;
|
|
||||||
write(store, out, i.first);
|
write(store, out, i.first);
|
||||||
write(store, out, i.second);
|
write(store, out, i.second);
|
||||||
}
|
}
|
||||||
|
@ -150,7 +149,6 @@ std::optional<T> read(const Store & store, Source & from, Phantom<std::optional<
|
||||||
case 0:
|
case 0:
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
case 1:
|
case 1:
|
||||||
// return nix::worker_proto::read(store, from, Phantom<T> {});
|
|
||||||
return read(store, from, Phantom<T> {});
|
return read(store, from, Phantom<T> {});
|
||||||
default:
|
default:
|
||||||
throw Error("got an invalid tag bit for std::optional: %#04x", (size_t)tag);
|
throw Error("got an invalid tag bit for std::optional: %#04x", (size_t)tag);
|
||||||
|
|
Loading…
Reference in a new issue