Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 6f84ef0

Browse files
author
Alan Jeffrey
committed
Use different vtable padding on Windows
1 parent 63e75f1 commit 6f84ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ impl<T> CustomAutoRooter<T> {
459459
/// so provide trace logic via vftable when creating an object on Rust side.
460460
unsafe trait CustomAutoTraceable: Sized {
461461
const vftable: CustomAutoRooterVFTable = CustomAutoRooterVFTable {
462-
padding: [1,3],
462+
padding: CustomAutoRooterVFTable::PADDING,
463463
trace: Self::trace,
464464
};
465465

0 commit comments

Comments
 (0)