From 3749702e34bd885ce36e61936606304e835b30c7 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sat, 13 Jul 2024 18:51:07 +0100 Subject: [PATCH] [*] SharableByteBuffer constructors must be inline --- Include/Aurora/Memory/ByteBuffer.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Include/Aurora/Memory/ByteBuffer.hpp b/Include/Aurora/Memory/ByteBuffer.hpp index e69ea481..bf061604 100644 --- a/Include/Aurora/Memory/ByteBuffer.hpp +++ b/Include/Aurora/Memory/ByteBuffer.hpp @@ -495,17 +495,20 @@ namespace Aurora::Memory struct SharableByteBuffer : ByteBuffer, AuEnableSharedFromThis { - SharableByteBuffer() : ByteBuffer() + inline SharableByteBuffer() : + ByteBuffer() { } - SharableByteBuffer(AuUInt uLength, bool circular = false, bool expandable = false) : ByteBuffer(uLength, circular, expandable) + inline SharableByteBuffer(AuUInt uLength, bool circular = false, bool expandable = false) : + ByteBuffer(uLength, circular, expandable) { } - SharableByteBuffer(AuUInt uLength, AuUInt uAlignment, bool circular = false, bool expandable = false) : ByteBuffer(uLength, uAlignment, circular, expandable) + inline SharableByteBuffer(AuUInt uLength, AuUInt uAlignment, bool circular = false, bool expandable = false) : + ByteBuffer(uLength, uAlignment, circular, expandable) { }