Commit d85a89e3 authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting

parent 73bd12e6
......@@ -103,7 +103,7 @@ struct parser_state {
/// Consumes the next character if it satisfies given predicate (skips any
/// whitespaces).
template<class Predicate>
template <class Predicate>
bool consume_if(Predicate predicate) noexcept {
skip_whitespaces();
if (predicate(current())) {
......@@ -124,7 +124,7 @@ struct parser_state {
/// Consumes the next character if it satisfies given predicate, not allowing
/// any whitespaces.
template<class Predicate>
template <class Predicate>
bool consume_strict_if(Predicate predicate) noexcept {
if (predicate(current())) {
next();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment