From 9c43dd570cf411bf615969176a8bf526dbc0850c Mon Sep 17 00:00:00 2001 From: Alexander Oster Date: Thu, 17 Feb 2022 17:05:50 +0100 Subject: [PATCH] Added disabling of stringout caching --- Source/buildimplementationcpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/buildimplementationcpp.go b/Source/buildimplementationcpp.go index 34638921..7313bcd8 100644 --- a/Source/buildimplementationcpp.go +++ b/Source/buildimplementationcpp.go @@ -969,7 +969,7 @@ func writeCImplementationMethod(component ComponentDefinition, method ComponentD // Special functions are an exception for string outs in global functions! bHasCacheCall := (len (stringOutParameters) > 0) && (isSpecialFunction != eSpecialMethodError) && (isSpecialFunction != eSpecialMethodBuildinfo) && (isSpecialFunction != eSpecialMethodPrerelease); - if (isGlobal && method.DisableStringOutCache) { + if (method.DisableStringOutCache) { bHasCacheCall = false; }