diff --git a/rtl/eclrtl/eclregex.cpp b/rtl/eclrtl/eclregex.cpp index a45552048d1..88bfded0a98 100644 --- a/rtl/eclrtl/eclregex.cpp +++ b/rtl/eclrtl/eclregex.cpp @@ -281,7 +281,7 @@ static void initMaxCacheSize() } if (cacheMaxSize > 0) - compiledStrRegExprCache.setMaxCacheSize(cacheMaxSize); + compiledStrRegExprCache.setMaxCacheSize(cacheMaxSize); // NOTE: Called from init code - no need to lock else compiledCacheEnabled = false; }