File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class DxcDllExtValidationLoader : public DllLoader {
42
42
43
43
bool IsEnabled () const override { return DxCompilerSupport.IsEnabled (); }
44
44
45
- void Cleanup () override {
45
+ void Cleanup () {
46
46
DxilExtValSupport.Cleanup ();
47
47
DxCompilerSupport.Cleanup ();
48
48
}
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ extern const char *kDxilLib;
23
23
class DllLoader {
24
24
public:
25
25
virtual HRESULT OverrideDll (LPCSTR dll, LPCSTR entryPoint) = 0;
26
+ DllLoader () = default ;
27
+ DllLoader (const DllLoader &) = delete ;
28
+ DllLoader (DllLoader &&) = delete ;
26
29
27
30
protected:
28
31
virtual HRESULT CreateInstanceImpl (REFCLSID clsid, REFIID riid,
@@ -55,7 +58,6 @@ class DllLoader {
55
58
56
59
virtual bool IsEnabled () const = 0;
57
60
58
- virtual void Cleanup () = 0;
59
61
virtual HMODULE Detach () = 0;
60
62
};
61
63
@@ -177,7 +179,7 @@ class SpecificDllLoader : public DllLoader {
177
179
return true ;
178
180
}
179
181
180
- void Cleanup () override {
182
+ void Cleanup () {
181
183
if (m_dll != nullptr ) {
182
184
m_createFn = nullptr ;
183
185
m_createFn2 = nullptr ;
You can’t perform that action at this time.
0 commit comments