mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
Make all ExternalValueBase functions const
This commit is contained in:
parent
320659b0cd
commit
608110804c
4 changed files with 15 additions and 15 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue