Browse Source

cppparser: Consider reference types destructible

Fixes #1743
rdb 4 months ago
parent
commit
7d7a08e66f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/cppparser/cppReferenceType.cxx

+ 1 - 1
dtool/src/cppparser/cppReferenceType.cxx

@@ -187,7 +187,7 @@ is_copy_constructible() const {
  */
  */
 bool CPPReferenceType::
 bool CPPReferenceType::
 is_destructible() const {
 is_destructible() const {
-  return false;
+  return true;
 }
 }
 
 
 /**
 /**