From 801f23a746d8d3be320a9ce92350d952299dcf47 Mon Sep 17 00:00:00 2001 From: roker Date: Fri, 18 Jun 2021 10:50:41 +0200 Subject: [PATCH] uuuh... a const_cast would silent the compiler. hmm. --- src/stringlist.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stringlist.cc b/src/stringlist.cc index 0f2ff01..645c5c8 100644 --- a/src/stringlist.cc +++ b/src/stringlist.cc @@ -14,7 +14,8 @@ namespace pEp } template<> - const char* stringlist_t::* const ListWrapper::Value = &stringlist_t::value; + const char* stringlist_t::* const ListWrapper::Value + = const_cast(&stringlist_t::value); template<> int StringList::size() const