Skip to content

Commit

Permalink
Add padding
Browse files Browse the repository at this point in the history
  • Loading branch information
anokl committed Jul 5, 2018
1 parent 5b332b3 commit 175fbe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Disruptor.PerfTests/PaddedLong.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ namespace Disruptor
namespace PerfTests
{

//[StructLayout(LayoutKind.Explicit, Size = 64)]
struct PaddedLong
{
//[FieldOffset(0)]
std::int64_t value = 0;
char _padding[54];
};

} // namespace PerfTests
Expand Down

0 comments on commit 175fbe8

Please sign in to comment.