Commit 2c9eea4
committed
Fix compile error in coreclr/vm/methodtable.cpp GetMethodDataHelper
$runtime/src/coreclr/vm/methodtable.cpp: In static member function 'static MethodTable::MethodData* MethodTable::GetMethodDataHelper(MethodTable*, MethodTable*, MethodDataComputeOptions)':
$runtime/src/coreclr/vm/methodtable.cpp:7130:52: error: 'static void MethodTable::MethodDataInterface::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
7130 | pData = new MethodDataInterface(pMTDecl);
| ^
$runtime/src/coreclr/vm/methodtable.cpp:7130:52: note: returned from 'void* operator new(std::size_t)'
7130 | pData = new MethodDataInterface(pMTDecl);
| ^1 parent f2b0068 commit 2c9eea4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3120 | 3120 | | |
3121 | 3121 | | |
3122 | 3122 | | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
3123 | 3127 | | |
3124 | 3128 | | |
3125 | 3129 | | |
| |||
0 commit comments