From cbbed9ca363d929bd103c6fbdf8c045959e43647 Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 24 Dec 2024 18:44:46 +0800 Subject: [PATCH] fix: build error on clang --- include/common/value.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/common/value.hpp b/include/common/value.hpp index ed9f65d..439c5a7 100644 --- a/include/common/value.hpp +++ b/include/common/value.hpp @@ -364,13 +364,13 @@ class basic_value template explicit operator std::tuple() const { - return as_array().as_tuple(); + return as_array().template as_tuple(); } template explicit operator std::pair() const { - return as_array().as_pair(); + return as_array().template as_pair(); } private: