utils: fix non-cld2 build

This commit is contained in:
Dirk-Jan C. Binnema 2023-05-12 21:52:08 +03:00
parent 4a6185bfc3
commit eafc81f168
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ using namespace Mu;
#ifndef HAVE_CLD2
// Dummy implementation
Option<Language> detect_language(const std::string& txt) { return Nothing; }
Option<Language> Mu::detect_language(const std::string& txt) { return Nothing; }
#else
#include <cld2/public/compact_lang_det.h>
#include <cld2/public/encodings.h>