mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +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
@@ -113,8 +113,7 @@ void EditorWrapper::update_diff()
|
||||
void EditorWrapper::set_project_root(LexicalPath const& project_root)
|
||||
{
|
||||
m_project_root = project_root;
|
||||
|
||||
auto result = GitRepo::try_to_create(m_project_root);
|
||||
auto result = GitRepo::try_to_create(*m_project_root);
|
||||
switch (result.type) {
|
||||
case GitRepo::CreateResult::Type::Success:
|
||||
m_git_repo = result.repo;
|
||||
|
||||
Reference in New Issue
Block a user