Browse Source

casting to const pointer could help

LPA-1
Volker Birk 8 years ago
parent
commit
fafc9c7f31
  1. 1
      BlobList.hh

1
BlobList.hh

@ -54,6 +54,7 @@ namespace pEp {
bool empty() const { return _size == 0; } bool empty() const { return _size == 0; }
operator ::bloblist_t *() { return bl.get(); } operator ::bloblist_t *() { return bl.get(); }
operator const ::bloblist_t *() const { return bl.get(); }
private: private:
static void release_value(char *v); static void release_value(char *v);

Loading…
Cancel
Save