From 6475b3523b285924cb3a251422279bb3909d86d2 Mon Sep 17 00:00:00 2001 From: bpb1 <30377600+bpb1@users.noreply.github.com> Date: Mon, 21 Aug 2017 10:38:14 +0100 Subject: [PATCH] Debug build fix (#68) --- src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs b/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs index 4042addc..cc1a1b68 100644 --- a/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs +++ b/src/Adaptive.Agrona/Concurrent/UnsafeBuffer.cs @@ -288,13 +288,12 @@ public IntPtr BufferPointer [MethodImpl(MethodImplOptions.AggressiveInlining)] get { return new IntPtr(_pBuffer); } } +#endif public byte[] ByteArray { get; private set; } public ByteBuffer ByteBuffer { get; private set; } -#endif - #if DEBUG public virtual int Capacity { get; private set; } #else