From ee4acc98fee2c91bd4fc84e992bfa179bfc61f93 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Wed, 9 Apr 2025 16:29:03 +0100 Subject: [PATCH] Update propertyParsing.h bahhh humbug --- Engine/source/console/propertyParsing.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Engine/source/console/propertyParsing.h b/Engine/source/console/propertyParsing.h index dc446d8f1..62b582191 100644 --- a/Engine/source/console/propertyParsing.h +++ b/Engine/source/console/propertyParsing.h @@ -163,15 +163,6 @@ namespace PropertyInfo bool default_print(String & result, SimObjectType * const & data); - template - const char* FormatProperty(const void* dataPtr) - { - static const U32 bufSize = 256; - char* buffer = Con::getReturnBuffer(bufSize); - FormatPropertyBuffer(dataPtr, buffer, bufSize); - return buffer; - } - template char* FormatPropertyBuffer(const void* dataPtr, char* buffer, U32 bufSize) { @@ -198,6 +189,15 @@ namespace PropertyInfo return ptr; // return end of written string for chaining } + template + const char* FormatProperty(const void* dataPtr) + { + static const U32 bufSize = 256; + char* buffer = Con::getReturnBuffer(bufSize); + FormatPropertyBuffer(dataPtr, buffer, bufSize); + return buffer; + } + template inline bool ParseProperty(char* str, T(&out)[count]) {