Browse Source

Merge pull request #88724 from AThousandShips/xr_build_fix

[XR] Fix building on MinGW
Rémi Verschelde 1 year ago
parent
commit
41f39cfa04

+ 3 - 0
modules/openxr/extensions/openxr_extension_wrapper_extension.cpp

@@ -238,3 +238,6 @@ OpenXRExtensionWrapperExtension::OpenXRExtensionWrapperExtension() :
 		Object(), OpenXRExtensionWrapper() {
 	openxr_api.instantiate();
 }
+
+OpenXRExtensionWrapperExtension::~OpenXRExtensionWrapperExtension() {
+}

+ 1 - 0
modules/openxr/extensions/openxr_extension_wrapper_extension.h

@@ -118,6 +118,7 @@ public:
 	void register_extension_wrapper();
 
 	OpenXRExtensionWrapperExtension();
+	virtual ~OpenXRExtensionWrapperExtension() override;
 };
 
 #endif // OPENXR_EXTENSION_WRAPPER_EXTENSION_H