From b77ca3fe5653c1fc3c0907ffa105c7cb779826dd Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 3 Aug 2021 10:03:12 +0200 Subject: [PATCH] dubious construct was causing build errors --- src/common/textsplitko.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/textsplitko.cpp b/src/common/textsplitko.cpp index 7de523d3..9b7f08a3 100644 --- a/src/common/textsplitko.cpp +++ b/src/common/textsplitko.cpp @@ -133,7 +133,7 @@ bool TextSplit::ko_to_words(Utf8Iter *itp, unsigned int *cp) unordered_map args; args.insert(pair{"data", string()}); - string& inputdata{args.begin()->second}; + string& inputdata(args.begin()->second); // We send the tagger name every time but it's only used the first // one: can't change it after init. We could avoid sending it