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

Fixed bug in SplitTransModule where a member was left uninitialised

parent 10d4492e
Branches
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
SplitTransModuleImpl::SplitTransModuleImpl(int maxNbTrans, const std::string & definition)
{
this->maxNbTrans = maxNbTrans;
std::regex regex("(?:(?:\\s|\\t)*)(\\S+)\\{(.*)\\}(?:(?:\\s|\\t)*)In\\{(.*)\\}(?:(?:\\s|\\t)*)Out\\{(.*)\\}(?:(?:\\s|\\t)*)");
if (!util::doIfNameMatch(regex, definition, [this,&definition](auto sm)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment