aboutsummaryrefslogtreecommitdiff
path: root/src/nix/hash.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-25 11:30:04 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-25 11:30:04 -0400
commitcfe791a638a3fdf53a2608f885c407bafc238094 (patch)
treeeb6618d98c78fd96926cd46d372f7a930edb5ec9 /src/nix/hash.cc
parentec14465a001387f8972c1b8332293d4fbce5ec97 (diff)
stdout_ -> cout
Better to get creative than just sprinkle arbitrary underscores.
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r--src/nix/hash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc
index 52e41e50c..945d8e990 100644
--- a/src/nix/hash.cc
+++ b/src/nix/hash.cc
@@ -73,7 +73,7 @@ struct CmdHash : Command
Hash h = hashSink->finish().first;
if (truncate && h.hashSize > 20) h = compressHash(h, 20);
- logger->stdout_(h.to_string(base, base == SRI));
+ logger->cout(h.to_string(base, base == SRI));
}
}
};
@@ -107,7 +107,7 @@ struct CmdToBase : Command
void run() override
{
for (auto s : args)
- logger->stdout_(Hash::parseAny(s, ht).to_string(base, base == SRI));
+ logger->cout(Hash::parseAny(s, ht).to_string(base, base == SRI));
}
};