aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value/print.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/value/print.cc')
-rw-r--r--src/libexpr/value/print.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/value/print.cc b/src/libexpr/value/print.cc
index c67ff9f87..bd241d9d8 100644
--- a/src/libexpr/value/print.cc
+++ b/src/libexpr/value/print.cc
@@ -3,7 +3,7 @@
namespace nix {
std::ostream &
-printLiteral(std::ostream & str, const std::string_view string)
+printLiteralString(std::ostream & str, const std::string_view string)
{
str << "\"";
for (auto i = string.begin(); i != string.end(); ++i) {
@@ -19,7 +19,7 @@ printLiteral(std::ostream & str, const std::string_view string)
}
std::ostream &
-printLiteral(std::ostream & str, bool boolean)
+printLiteralBool(std::ostream & str, bool boolean)
{
str << (boolean ? "true" : "false");
return str;