1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Make all ExternalValueBase functions const

This commit is contained in:
Shea Levy 2014-12-02 10:02:03 -05:00
parent 320659b0cd
commit 608110804c
4 changed files with 15 additions and 15 deletions

View file

@ -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());
}