@@ -89,13 +89,13 @@ class DxcDllSupport {
8989 other.m_createFn2 = nullptr ;
9090 }
9191
92- virtual ~DxcDllSupport () { Cleanup (); }
92+ ~DxcDllSupport () { Cleanup (); }
9393
94- HRESULT virtual Initialize () {
94+ HRESULT Initialize () {
9595 return InitializeInternal (kDxCompilerLib , " DxcCreateInstance" );
9696 }
9797
98- HRESULT virtual InitializeForDll (LPCSTR dll, LPCSTR entryPoint) {
98+ HRESULT InitializeForDll (LPCSTR dll, LPCSTR entryPoint) {
9999 return InitializeInternal (dll, entryPoint);
100100 }
101101
@@ -104,8 +104,7 @@ class DxcDllSupport {
104104 return CreateInstance (clsid, __uuidof (TInterface), (IUnknown **)pResult);
105105 }
106106
107- HRESULT virtual CreateInstance (REFCLSID clsid, REFIID riid,
108- IUnknown **pResult) {
107+ HRESULT CreateInstance (REFCLSID clsid, REFIID riid, IUnknown **pResult) {
109108 if (pResult == nullptr )
110109 return E_POINTER;
111110 if (m_dll == nullptr )
@@ -121,7 +120,7 @@ class DxcDllSupport {
121120 (IUnknown **)pResult);
122121 }
123122
124- HRESULT virtual CreateInstance2 (IMalloc *pMalloc, REFCLSID clsid, REFIID riid,
123+ HRESULT CreateInstance2 (IMalloc *pMalloc, REFCLSID clsid, REFIID riid,
125124 IUnknown **pResult) {
126125 if (pResult == nullptr )
127126 return E_POINTER;
@@ -133,21 +132,11 @@ class DxcDllSupport {
133132 return hr;
134133 }
135134
136- bool virtual HasCreateWithMalloc () const { return m_createFn2 != nullptr ; }
135+ bool HasCreateWithMalloc () const { return m_createFn2 != nullptr ; }
137136
138137 bool IsEnabled () const { return m_dll != nullptr ; }
139138
140- bool GetCreateInstanceProcs (DxcCreateInstanceProc *pCreateFn,
141- DxcCreateInstance2Proc *pCreateFn2) const {
142- if (pCreateFn == nullptr || pCreateFn2 == nullptr ||
143- m_createFn == nullptr )
144- return false ;
145- *pCreateFn = m_createFn;
146- *pCreateFn2 = m_createFn2;
147- return true ;
148- }
149-
150- void virtual Cleanup () {
139+ void Cleanup () {
151140 if (m_dll != nullptr ) {
152141 m_createFn = nullptr ;
153142 m_createFn2 = nullptr ;
@@ -160,7 +149,7 @@ class DxcDllSupport {
160149 }
161150 }
162151
163- HMODULE virtual Detach () {
152+ HMODULE Detach () {
164153 HMODULE hModule = m_dll;
165154 m_dll = nullptr ;
166155 return hModule;
0 commit comments