From fafc9c7f3118537e5c5f32c34dad558e7844d42b Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Wed, 17 Jan 2018 23:27:29 +0100 Subject: [PATCH] casting to const pointer could help --- BlobList.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/BlobList.hh b/BlobList.hh index 003318b..382e5fe 100644 --- a/BlobList.hh +++ b/BlobList.hh @@ -54,6 +54,7 @@ namespace pEp { bool empty() const { return _size == 0; } operator ::bloblist_t *() { return bl.get(); } + operator const ::bloblist_t *() const { return bl.get(); } private: static void release_value(char *v);