diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-04-29 14:33:23 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | e2bc124a0a93f4fa822cf82539e6f8b0f8e2f2cd (patch) | |
tree | d06fc0f9258ec5f4d2260a924131b53d6388c275 | |
parent | Common base class for value selections (diff) | |
download | ilt-e2bc124a0a93f4fa822cf82539e6f8b0f8e2f2cd.tar.bz2 ilt-e2bc124a0a93f4fa822cf82539e6f8b0f8e2f2cd.tar.xz ilt-e2bc124a0a93f4fa822cf82539e6f8b0f8e2f2cd.zip |
Fix dependent name lookup
-rw-r--r-- | lib/persistance.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/persistance.h b/lib/persistance.h index 863de47..04da744 100644 --- a/lib/persistance.h +++ b/lib/persistance.h @@ -111,7 +111,7 @@ namespace Persistanace { void beginArray(Stack & stk) override { - stk.push(make_s<Members>(this->v)); + stk.push(this->template make_s<Members>(this->v)); } }; @@ -133,7 +133,7 @@ namespace Persistanace { void beginArray(Stack & stk) override { - stk.push(make_s<Members>(this->v)); + stk.push(this->template make_s<Members>(this->v)); } }; @@ -174,7 +174,7 @@ namespace Persistanace { if (this->v) { throw std::runtime_error("cannot set object type after creation"); } - return make_s<MakeObjectByTypeName>(this->v); + return this->template make_s<MakeObjectByTypeName>(this->v); } else { if (!this->v) { @@ -219,7 +219,7 @@ namespace Persistanace { void beginObject(Stack & stk) override { - stk.push(make_s<SelectionObj>(this->v)); + stk.push(this->template make_s<SelectionObj>(this->v)); } void |