diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-04-16 12:56:31 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-04-16 13:04:35 +0200 |
commit | 1e2dd669bcdd8df6cdaac061e035828626906447 (patch) | |
tree | 3a2207423c4c94beaf217c3e90949c200754ded6 /src/libcmd/repl.cc | |
parent | 9c74df5bb4f41c938a4f6942492f5ce92b0ef371 (diff) |
printLiteral: Do not overload
Diffstat (limited to 'src/libcmd/repl.cc')
-rw-r--r-- | src/libcmd/repl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 1366622c7..41cf77424 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -913,13 +913,13 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m case nBool: str << ANSI_CYAN; - printLiteral(str, v.boolean); + printLiteralBool(str, v.boolean); str << ANSI_NORMAL; break; case nString: str << ANSI_WARNING; - printLiteral(str, v.string.s); + printLiteralString(str, v.string.s); str << ANSI_NORMAL; break; @@ -959,7 +959,7 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m if (isVarName(i.first)) str << i.first; else - printLiteral(str, i.first); + printLiteralString(str, i.first); str << " = "; if (seen.count(i.second)) str << "«repeated»"; |