about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-05-18T10·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-05-18T10·36+0000
commit93cd5a4a13742b48bb1db0cafe36dd90b7abc10d (patch)
treeaf2d956903062a693bf29f246d0555d03d351125 /src/libexpr/eval.cc
parentb2235d81d1b3733a93fdd1397a62d0f49409dcb0 (diff)
* The << operator on values should be const.
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 14e5cab7de60..1ee6c5a7f6aa 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -16,7 +16,7 @@
 namespace nix {
     
 
-std::ostream & operator << (std::ostream & str, Value & v)
+std::ostream & operator << (std::ostream & str, const Value & v)
 {
     switch (v.type) {
     case tInt: