Skip to content

Commit fe0fc5a

Browse files
committed
Making GmmGenXCachePolicy dtors virtual.
Change-Id: I64a8639d9fa9e66a4d6a18375526a6c8cc3b99f4
1 parent 99ff764 commit fe0fc5a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Source/GmmLib/inc/External/Common/CachePolicy/GmmCachePolicyGen10.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace GmmLib
3838
GmmGen10CachePolicy(GMM_CACHE_POLICY_ELEMENT *pCachePolicy) :GmmGen9CachePolicy(pCachePolicy)
3939
{
4040
}
41-
~GmmGen10CachePolicy()
41+
virtual ~GmmGen10CachePolicy()
4242
{
4343
}
4444

Source/GmmLib/inc/External/Common/CachePolicy/GmmCachePolicyGen11.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace GmmLib
3434
GmmGen11CachePolicy(GMM_CACHE_POLICY_ELEMENT *pCachePolicy) :GmmGen10CachePolicy(pCachePolicy)
3535
{
3636
}
37-
~GmmGen11CachePolicy()
37+
virtual ~GmmGen11CachePolicy()
3838
{
3939
}
4040

Source/GmmLib/inc/External/Common/CachePolicy/GmmCachePolicyGen8.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace GmmLib
5757
#endif
5858
}
5959

60-
~GmmGen8CachePolicy()
60+
virtual ~GmmGen8CachePolicy()
6161
{
6262
}
6363

Source/GmmLib/inc/External/Common/CachePolicy/GmmCachePolicyGen9.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace GmmLib
3636
GmmGen9CachePolicy(GMM_CACHE_POLICY_ELEMENT *pCachePolicy) :GmmGen8CachePolicy(pCachePolicy)
3737
{
3838
}
39-
~GmmGen9CachePolicy()
39+
virtual ~GmmGen9CachePolicy()
4040
{
4141
}
4242

0 commit comments

Comments
 (0)