. "It attempts to call int nodeCount(DListNode& node), which is not marked as const, and therefore cannot guarantee the object is not modified (thus it tries to convert a const this to a non-const this) (int getTreeHeight() const also has this problem, and other functions may too, which I do not have time to validate)." . . .