From 39a7169e1a0265a96977c58eb68ea68805c6e713 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 5 Jun 2018 01:03:59 +0200 Subject: [PATCH] [vr] Silence non-virtual destructor warnings on GCC --- src/dxvk/dxvk_openvr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dxvk/dxvk_openvr.cpp b/src/dxvk/dxvk_openvr.cpp index 738128394..150a8bf92 100644 --- a/src/dxvk/dxvk_openvr.cpp +++ b/src/dxvk/dxvk_openvr.cpp @@ -1,5 +1,9 @@ #include "dxvk_openvr.h" +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wnon-virtual-dtor" +#endif + #include namespace dxvk {