Commit f45693a0 authored by Dominik Charousset's avatar Dominik Charousset

Remove needless temporary variable

parent 317f90b5
...@@ -130,8 +130,7 @@ bool try_match(message_iterator mbegin, message_iterator mend, ...@@ -130,8 +130,7 @@ bool try_match(message_iterator mbegin, message_iterator mend,
bool try_match(const message& msg, pattern_iterator pb, size_t ps, void** out) { bool try_match(const message& msg, pattern_iterator pb, size_t ps, void** out) {
set_commit_rollback scr{out}; set_commit_rollback scr{out};
auto res = try_match(msg.begin(), msg.end(), pb, pb + ps, scr); return try_match(msg.begin(), msg.end(), pb, pb + ps, scr);
return res;
} }
} // namespace detail } // namespace detail
......
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