summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/token.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index b9048dd25f19..475fcf16d189 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1277,6 +1277,9 @@ bool ScTokenArray::AddFormulaToken(
void ScTokenArray::CheckForThreading( const FormulaToken& r )
{
+#if HAVE_CPP_CONSTINIT_SORTED_VECTOR
+ constinit
+#endif
static const o3tl::sorted_vector<OpCode> aThreadedCalcBlackList({
ocIndirect,
ocMacro,