diff --git a/reading_machine/src/Action.cpp b/reading_machine/src/Action.cpp index 4dc7d6f74168f2c527117f0be42c8792bf19b7c3..5c68d392a440e03ff55949c4c1d991ac325d3189 100644 --- a/reading_machine/src/Action.cpp +++ b/reading_machine/src/Action.cpp @@ -127,9 +127,9 @@ Action Action::addHypothesis(const std::string & colName, std::size_t lineIndex, config.getLastNotEmpty(colName, lineIndex) = ""; }; - auto appliable = [colName, lineIndex](const Config & config, const Action &) + auto appliable = [](const Config &, const Action &) { - return config.has(colName, lineIndex, 0); + return true; }; return {Type::Write, apply, undo, appliable};