Skip to content
Snippets Groups Projects
Commit d68efb45 authored by Franck Dary's avatar Franck Dary
Browse files

Took care of some compiler warnings

parent b882e02b
No related branches found
No related tags found
No related merge requests found
...@@ -410,7 +410,7 @@ void Transition::initStandardShift() ...@@ -410,7 +410,7 @@ void Transition::initStandardShift()
sequence.emplace_back(Action::pushWordIndexOnStack()); sequence.emplace_back(Action::pushWordIndexOnStack());
sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged()); sequence.emplace_back(Action::setRootUpdateIdsEmptyStackIfSentChanged());
costDynamic = [](const Config & config) costDynamic = [](const Config &)
{ {
return 0; return 0;
}; };
......
...@@ -10,7 +10,7 @@ class DictHolder : public NameHolder ...@@ -10,7 +10,7 @@ class DictHolder : public NameHolder
{ {
private : private :
static constexpr char * filenameTemplate = "{}.dict"; static constexpr const char * filenameTemplate = "{}.dict";
std::unique_ptr<Dict> dict; std::unique_ptr<Dict> dict;
bool pretrained{false}; bool pretrained{false};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment