mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
AK+Everywhere: Remove "null state" of LexicalPath
This removes the default constructor of LexicalPath, and subsequently modifies all its users to accommodate the change.
This commit is contained in:
parent
4c018909f7
commit
d8be530397
Notes:
sideshowbarker
2024-07-18 11:13:24 +09:00
Author: https://github.com/MaxWipfli
Commit: d8be530397
Pull-request: https://github.com/SerenityOS/serenity/pull/8320
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
10 changed files with 52 additions and 52 deletions
|
@ -14,7 +14,6 @@ namespace AK {
|
|||
|
||||
class LexicalPath {
|
||||
public:
|
||||
LexicalPath() = default;
|
||||
explicit LexicalPath(String);
|
||||
|
||||
bool is_absolute() const { return !m_string.is_empty() && m_string[0] == '/'; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue