diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-04 18:40:39 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-01-04 18:40:39 +0100 |
commit | 263a8d293c67488065296737cdadee3d0e122bf5 (patch) | |
tree | 72e62a364a0bb158be82b77e77c0ef1a381479c5 /tests | |
parent | cc08364315437bfd870363220373c48f64862e83 (diff) |
Remove non-method mk<X> functions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugins/plugintest.cc | 4 |
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); |