Skip to content

Commit f6662ad

Browse files
authored
Mark the collection destructor with override and remove an array include (#716)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
1 parent 98a15af commit f6662ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/templates/Collection.h.jinja2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
#include <string_view>
2424
#include <vector>
25-
#include <array>
2625
#include <algorithm>
2726
#include <ostream>
2827
#include <mutex>
@@ -60,7 +59,7 @@ public:
6059
{{ class.bare_type }}Collection& operator=({{ class.bare_type }}Collection&&) = default;
6160

6261
// {{ class.bare_type }}Collection({{ class.bare_type }}Vector* data, uint32_t collectionID);
63-
~{{ class.bare_type }}Collection();
62+
~{{ class.bare_type }}Collection() override;
6463

6564
constexpr static auto typeName = "{{ (class | string ).strip(':') + "Collection" }}";
6665
constexpr static auto valueTypeName = "{{ (class | string ).strip(':') }}";

0 commit comments

Comments
 (0)