aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/print.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/print.cc')
-rw-r--r--src/libexpr/print.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libexpr/print.cc b/src/libexpr/print.cc
index 8b45475d8..fbd91e484 100644
--- a/src/libexpr/print.cc
+++ b/src/libexpr/print.cc
@@ -509,4 +509,11 @@ std::ostream & operator<<(std::ostream & output, const ValuePrinter & printer)
return output;
}
+template<>
+hintformat & hintformat::operator%(const ValuePrinter & value)
+{
+ fmt % value;
+ return *this;
+}
+
}