Made the section skipping function a proper function.

This commit is contained in:
Patrick Lühne 2016-06-08 00:14:43 +02:00
parent 9360f4295a
commit ee9626e4d2

View File

@ -16,8 +16,7 @@ namespace pddl
//
////////////////////////////////////////////////////////////////////////////////////////////////////
const auto skipSection =
[](utils::Parser &parser)
inline void skipSection(utils::Parser &parser)
{
size_t openParentheses = 1;
@ -36,7 +35,7 @@ const auto skipSection =
return;
}
}
};
}
////////////////////////////////////////////////////////////////////////////////////////////////////