diff --git a/extensions/translatewrapper.cpp b/extensions/translatewrapper.cpp index af62e06..e695fd8 100644 --- a/extensions/translatewrapper.cpp +++ b/extensions/translatewrapper.cpp @@ -63,7 +63,7 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo) const int tokenCount = 30, delay = 60 * 1000; Synchronized> tokens; } rateLimiter; - Synchronized> translationCache; + static Synchronized> translationCache; bool cache = false; std::wstring translation;