* The << operator on values should be const.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user