mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 19:58:53 +02:00
ircd: Use strip(n=1) for unquote() tool.
This commit is contained in:
parent
238a473b08
commit
582860f789
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ ircd::unquote(std::string &&str)
|
||||||
inline ircd::string_view
|
inline ircd::string_view
|
||||||
ircd::unquote(const string_view &str)
|
ircd::unquote(const string_view &str)
|
||||||
{
|
{
|
||||||
return strip(str, '"');
|
return strip(str, '"', 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Chomps delim from all of the string views in the iterable (iterators<T> are
|
/// Chomps delim from all of the string views in the iterable (iterators<T> are
|
||||||
|
|
Loading…
Reference in a new issue