25 do_test_ref_count_integrity()
const {
32 nassertr(_ref_count != deleted_ref_count,
false);
36 nassertr(_ref_count >= 0,
false);
45 do_test_ref_count_nonzero()
const {
46 nassertr(do_test_ref_count_integrity(),
false);
47 nassertr(_ref_count > 0,
false);
60 if (orig !=
nullptr) {