Browse Source

uuuh... a const_cast would silent the compiler. hmm.

master
roker 4 months ago
parent
commit
801f23a746
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/stringlist.cc

+ 2
- 1
src/stringlist.cc View File

@ -14,7 +14,8 @@ namespace pEp
}
template<>
const char* stringlist_t::* const ListWrapper<stringlist_t*, const char*>::Value = &stringlist_t::value;
const char* stringlist_t::* const ListWrapper<stringlist_t*, const char*>::Value
= const_cast<const char* stringlist_t::*>(&stringlist_t::value);
template<>
int StringList::size() const


Loading…
Cancel
Save