From 07d25ef25c5dfe13e5fb4f05678437a24625feae Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 15 Jun 2019 03:23:32 -0400 Subject: [PATCH] i am a moron --- extensions/translatewrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/translatewrapper.cpp b/extensions/translatewrapper.cpp index af62e068..e695fd8f 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;