i am a moron

This commit is contained in:
Akash Mozumdar 2019-06-15 03:23:32 -04:00
parent 0c61b0afcf
commit 07d25ef25c

View File

@ -63,7 +63,7 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
const int tokenCount = 30, delay = 60 * 1000; const int tokenCount = 30, delay = 60 * 1000;
Synchronized<std::vector<DWORD>> tokens; Synchronized<std::vector<DWORD>> tokens;
} rateLimiter; } rateLimiter;
Synchronized<std::unordered_map<std::wstring, std::wstring>> translationCache; static Synchronized<std::unordered_map<std::wstring, std::wstring>> translationCache;
bool cache = false; bool cache = false;
std::wstring translation; std::wstring translation;