mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
AK: Remove KERNEL
check from String
Since we no longer use `String` inside of the kernel code, we can drop this `#ifndef`.
This commit is contained in:
parent
9ed5a14af2
commit
1577a8ba42
1 changed files with 0 additions and 2 deletions
|
@ -124,7 +124,6 @@ public:
|
|||
|
||||
[[nodiscard]] bool is_whitespace() const { return StringUtils::is_whitespace(*this); }
|
||||
|
||||
#ifndef KERNEL
|
||||
[[nodiscard]] String trim(StringView characters, TrimMode mode = TrimMode::Both) const
|
||||
{
|
||||
auto trimmed_view = StringUtils::trim(view(), characters, mode);
|
||||
|
@ -140,7 +139,6 @@ public:
|
|||
return *this;
|
||||
return trimmed_view;
|
||||
}
|
||||
#endif
|
||||
|
||||
[[nodiscard]] bool equals_ignoring_case(StringView) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue