Add virtual destructor.

This commit is contained in:
JoelKatz
2012-05-14 13:35:00 -07:00
parent 229969c566
commit faaea1e332

View File

@@ -38,6 +38,7 @@ public:
SHAMapNode() : mDepth(0) { ; }
SHAMapNode(int depth, const uint256& hash);
virtual ~SHAMapNode() { ; }
int getDepth() const { return mDepth; }
const uint256& getNodeID() const { return mNodeID; }
bool isValid() const { return (mDepth >= 0) && (mDepth < 64); }