From 29394da7ed49fa59ecc5c792ca9e142d2a0aa0ba Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Thu, 13 Apr 2017 10:37:29 -0500 Subject: [PATCH] Static functions cannot have const. --- wadsrc/static/zscript/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/base.txt b/wadsrc/static/zscript/base.txt index 7fe034f0b..c834dff94 100644 --- a/wadsrc/static/zscript/base.txt +++ b/wadsrc/static/zscript/base.txt @@ -639,7 +639,7 @@ enum EPickStart // Although String is a builtin type, this is a convenient way to attach methods to it. struct StringStruct native { - native static vararg String Format(String fmt, ...) const; + native static vararg String Format(String fmt, ...); native vararg void AppendFormat(String fmt, ...); native void Replace(String pattern, String replacement);