From e2bc124a0a93f4fa822cf82539e6f8b0f8e2f2cd Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 29 Apr 2021 14:33:23 +0100 Subject: Fix dependent name lookup --- lib/persistance.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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(this->v)); + stk.push(this->template make_s(this->v)); } }; @@ -133,7 +133,7 @@ namespace Persistanace { void beginArray(Stack & stk) override { - stk.push(make_s(this->v)); + stk.push(this->template make_s(this->v)); } }; @@ -174,7 +174,7 @@ namespace Persistanace { if (this->v) { throw std::runtime_error("cannot set object type after creation"); } - return make_s(this->v); + return this->template make_s(this->v); } else { if (!this->v) { @@ -219,7 +219,7 @@ namespace Persistanace { void beginObject(Stack & stk) override { - stk.push(make_s(this->v)); + stk.push(this->template make_s(this->v)); } void -- cgit v1.2.3