diff options
author | Shea Levy <shea@shealevy.com> | 2014-12-02 10:02:03 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-12-02 10:27:10 -0500 |
commit | 608110804cc753eee31418fda1b33cb77a83d0fc (patch) | |
tree | 25fb469c4c82fb6ce8670f01a088a63513e9e1b7 /src/libexpr/value-to-json.cc | |
parent | 320659b0cd161249c95e736c3fb309b1a73ea728 (diff) |
Make all ExternalValueBase functions const
Diffstat (limited to 'src/libexpr/value-to-json.cc')
-rw-r--r-- | src/libexpr/value-to-json.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value-to-json.cc b/src/libexpr/value-to-json.cc index b9f3e6551..cdb713418 100644 --- a/src/libexpr/value-to-json.cc +++ b/src/libexpr/value-to-json.cc @@ -91,7 +91,7 @@ void printValueAsJSON(EvalState & state, bool strict, void ExternalValueBase::printValueAsJSON(EvalState & state, bool strict, - std::ostream & str, PathSet & context) + std::ostream & str, PathSet & context) const { throw TypeError(format("cannot convert %1% to JSON") % showType()); } |