We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838e97b commit b249c8bCopy full SHA for b249c8b
lima_linguisticprocessing/src/linguisticProcessing/core/Automaton/automatonReaderWriter.cpp
@@ -195,9 +195,12 @@ readHeader(std::ifstream& file)
195
AULOGINIT;
196
ostringstream oss;
197
oss << "language " << language
198
- << " is not initialized. Initialized languages are:";
+ << " is not initialized. ";
199
+#if __cplusplus >= 201703L
200
+ oss << "Initialized languages are: ";
201
for (const auto &[k, v] : Common::MediaticData::MediaticData::single().getMediasIds())
- oss << k << ", " << std::endl;
202
+ oss << k << ", ";
203
+#endif
204
205
LERROR << oss.str();
206
throw runtime_error(oss.str());
0 commit comments