Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 175fbe8

Browse files
committed
Add padding
1 parent 5b332b3 commit 175fbe8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Disruptor.PerfTests/PaddedLong.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ namespace Disruptor
88
namespace PerfTests
99
{
1010

11-
//[StructLayout(LayoutKind.Explicit, Size = 64)]
1211
struct PaddedLong
1312
{
14-
//[FieldOffset(0)]
1513
std::int64_t value = 0;
14+
char _padding[54];
1615
};
1716

1817
} // namespace PerfTests

0 commit comments

Comments
 (0)