From 2e1241bb5f9f4687b1ec60f40f527c19f9b76e3d Mon Sep 17 00:00:00 2001 From: roker Date: Fri, 18 Jun 2021 18:31:52 +0200 Subject: [PATCH] okay, ListWrapper is a full specialization, so its members don't need "template<>". Clang++ did not tell me that, g++ did. But still bizarre somehow... --- src/bloblist.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/bloblist.cc b/src/bloblist.cc index 8e22462..153e1a8 100644 --- a/src/bloblist.cc +++ b/src/bloblist.cc @@ -11,32 +11,30 @@ namespace pEp } - template<> +// template<> int BlobList::size() const { return bloblist_length(value); } // faster than .size()==0 because it's not necessary to iterate throgh the whole list - template<> +// template<> bool BlobList::empty() const { return !(value && value->value); } - template<> +// template<> void BlobList::clear() { free_bloblist(value); value = nullptr; } - template<> - void BlobList::push_back(const char*&& s) +// template<> + void BlobList::push_back(Blob&& s) { - auto last = stringlist_add(value, s); - if(value==nullptr) - value = last; + // TODO } ////////////////