#include "handle.h" Shared::~Shared() { assert(!counter->ptrRefCount); if (!--counter->refCount) delete counter; }