forked from OSchip/llvm-project
Add explicit casts to size_t to try to appease MSVC.
llvm-svn: 280899
This commit is contained in:
parent
c84921774f
commit
f3fe5a7445
|
@ -243,11 +243,11 @@ public:
|
|||
~VTableLayout();
|
||||
|
||||
ArrayRef<VTableComponent> vtable_components() const {
|
||||
return {VTableComponents.get(), NumVTableComponents};
|
||||
return {VTableComponents.get(), size_t(NumVTableComponents)};
|
||||
}
|
||||
|
||||
ArrayRef<VTableThunkTy> vtable_thunks() const {
|
||||
return {VTableThunks.get(), NumVTableThunks};
|
||||
return {VTableThunks.get(), size_t(NumVTableThunks)};
|
||||
}
|
||||
|
||||
uint64_t getAddressPoint(BaseSubobject Base) const {
|
||||
|
|
Loading…
Reference in New Issue