mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 12:49:00 +08:00
985957c395
Using a patch already integrated upstream.
24 lines
869 B
Diff
24 lines
869 B
Diff
From 563bc6e87a43c38b5495469307922c768edbd191 Mon Sep 17 00:00:00 2001
|
|
From: neil <neil@codeplay.com>
|
|
Date: Thu, 1 Feb 2018 06:49:44 +0000
|
|
Subject: [PATCH] Add a virtual destructor, otherwise Clang 6.0complains about
|
|
delete being called on an abstract class.
|
|
|
|
---
|
|
libshaderc/include/shaderc/shaderc.hpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/libshaderc/include/shaderc/shaderc.hpp b/libshaderc/include/shaderc/shaderc.hpp
|
|
index 1c557431..335f0df9 100644
|
|
--- a/libshaderc/include/shaderc/shaderc.hpp
|
|
+++ b/libshaderc/include/shaderc/shaderc.hpp
|
|
@@ -180,6 +180,8 @@ class CompileOptions {
|
|
|
|
// Handles shaderc_include_result_release_fn callbacks.
|
|
virtual void ReleaseInclude(shaderc_include_result* data) = 0;
|
|
+
|
|
+ virtual ~IncluderInterface() = default;
|
|
};
|
|
|
|
// Sets the includer instance for libshaderc to call during compilation, as
|