FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add padding · githubCode3a/Disruptor-cpp@175fbe8 · GitHub

Commit 175fbe8

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL