aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value/print.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/value/print.hh')
-rw-r--r--src/libexpr/value/print.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libexpr/value/print.hh b/src/libexpr/value/print.hh
index 31c94eb85..98dd2008d 100644
--- a/src/libexpr/value/print.hh
+++ b/src/libexpr/value/print.hh
@@ -17,14 +17,14 @@ namespace nix {
*
* @param s The logical string
*/
- std::ostream & printLiteral(std::ostream & o, std::string_view s);
- inline std::ostream & printLiteral(std::ostream & o, const char * s) {
- return printLiteral(o, std::string_view(s));
+ std::ostream & printLiteralString(std::ostream & o, std::string_view s);
+ inline std::ostream & printLiteralString(std::ostream & o, const char * s) {
+ return printLiteralString(o, std::string_view(s));
}
- inline std::ostream & printLiteral(std::ostream & o, const std::string & s) {
- return printLiteral(o, std::string_view(s));
+ inline std::ostream & printLiteralString(std::ostream & o, const std::string & s) {
+ return printLiteralString(o, std::string_view(s));
}
/** Print `true` or `false`. */
- std::ostream & printLiteral(std::ostream & o, bool b);
+ std::ostream & printLiteralBool(std::ostream & o, bool b);
}