forked from lix-project/lix
* The << operator on values should be const.
This commit is contained in:
parent
b2235d81d1
commit
93cd5a4a13
|
@ -16,7 +16,7 @@
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
|
||||||
std::ostream & operator << (std::ostream & str, Value & v)
|
std::ostream & operator << (std::ostream & str, const Value & v)
|
||||||
{
|
{
|
||||||
switch (v.type) {
|
switch (v.type) {
|
||||||
case tInt:
|
case tInt:
|
||||||
|
|
|
@ -171,7 +171,7 @@ typedef std::map<Path, Path> SrcToStore;
|
||||||
struct EvalState;
|
struct EvalState;
|
||||||
|
|
||||||
|
|
||||||
std::ostream & operator << (std::ostream & str, Value & v);
|
std::ostream & operator << (std::ostream & str, const Value & v);
|
||||||
|
|
||||||
|
|
||||||
class EvalState
|
class EvalState
|
||||||
|
|
Loading…
Reference in a new issue