mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Andreas Kling
parent
4c018909f7
commit
d8be530397
@@ -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] == '/'; }
|
||||
|
||||
Reference in New Issue
Block a user