From 3444618075557ac3055d54893ea2b9c62ef2f55c Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Wed, 10 Mar 2021 15:35:13 +0300 Subject: [PATCH] Fix linux build. --- src/lstm/lstmrecognizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lstm/lstmrecognizer.cpp b/src/lstm/lstmrecognizer.cpp index 8b014e3fd..6721c5fb4 100644 --- a/src/lstm/lstmrecognizer.cpp +++ b/src/lstm/lstmrecognizer.cpp @@ -174,7 +174,7 @@ bool LSTMRecognizer::LoadDictionary(const ParamsVectors* params, dict_->LoadLSTM(lang, mgr); if (dict_->FinishLoad()) return true; // Success. tprintf("Failed to load any lstm-specific dictionaries for lang %s!!\n", - lang); + lang.c_str()); delete dict_; dict_ = nullptr; return false;