0
0
Fork 0
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:
Jason Volk 2022-02-07 11:55:05 -08:00
parent 9fcca617df
commit d029de6a7a

View file

@ -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;