aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-04 18:40:39 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-04 18:40:39 +0100
commit263a8d293c67488065296737cdadee3d0e122bf5 (patch)
tree72e62a364a0bb158be82b77e77c0ef1a381479c5 /tests
parentcc08364315437bfd870363220373c48f64862e83 (diff)
Remove non-method mk<X> functions
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/plugintest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/plugintest.cc b/tests/plugins/plugintest.cc
index c085d3329..cd7c9f8b1 100644
--- a/tests/plugins/plugintest.cc
+++ b/tests/plugins/plugintest.cc
@@ -16,9 +16,9 @@ static GlobalConfig::Register rs(&mySettings);
static void prim_anotherNull (EvalState & state, const Pos & pos, Value ** args, Value & v)
{
if (mySettings.settingSet)
- mkNull(v);
+ v.mkNull();
else
- mkBool(v, false);
+ v.mkBool(false);
}
static RegisterPrimOp rp("anotherNull", 0, prim_anotherNull);