mirror of
https://github.com/matrix-construct/construct
synced 2024-06-01 17:48:56 +02:00
ircd::tokens: Simplify overload resolution w/ closure bool return.
This commit is contained in:
parent
9fcca617df
commit
d029de6a7a
|
@ -176,6 +176,7 @@ ircd::tokens(A&& allocator,
|
|||
(const string_view &token)
|
||||
{
|
||||
ret.emplace(ret.end(), token);
|
||||
return true;
|
||||
});
|
||||
|
||||
return ret;
|
||||
|
@ -208,6 +209,7 @@ ircd::tokens(A&& allocator,
|
|||
(const string_view &token)
|
||||
{
|
||||
ret.emplace(ret.end(), token);
|
||||
return true;
|
||||
});
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue