Browse Source

Change type of pointer argument of the function DeallocateBlob() from void* to int8_t*, as Blob() return value.

ObjPtr
Michael Uleysky 9 years ago
parent
commit
0a4dbbadc7
  1. 2
      include/common.h

2
include/common.h

@ -22,7 +22,7 @@ class EXPORT ObjectBase
protected: protected:
// No save by default // No save by default
virtual const int8_t* Blob(size_t* size) const { *size=0; return 0; } virtual const int8_t* Blob(size_t* size) const { *size=0; return 0; }
virtual void DeallocBlob(const void* ptr) const {}; virtual void DeallocBlob(const int8_t* ptr) const {};
public: public:
ObjectBase() = default; ObjectBase() = default;

Loading…
Cancel
Save