mirror of https://github.com/djcb/mu.git
utils: fix non-cld2 build
This commit is contained in:
parent
4a6185bfc3
commit
eafc81f168
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue