Explorar el Código

Use default destructor.

Kim Kulling hace 3 años
padre
commit
0db8b3daae
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2 4
      include/assimp/XmlParser.h

+ 2 - 4
include/assimp/XmlParser.h

@@ -501,10 +501,8 @@ public:
         }
     }
 
-    ///	@brief  The class destructor.
-    ~XmlNodeIterator() {
-        // empty
-    }
+    ///	@brief  The class destructor, default implementation.
+    ~XmlNodeIterator() = default;
 
     ///	@brief  Will iterate through all children in pre-order iteration.
     /// @param  node    [in] The nod to iterate through.