summaryrefslogtreecommitdiff
path: root/Userland/Applications/SpaceAnalyzer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/SpaceAnalyzer/main.cpp')
-rw-r--r--Userland/Applications/SpaceAnalyzer/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/main.cpp b/Userland/Applications/SpaceAnalyzer/main.cpp
index 43bc47ff7c..31b5fc1264 100644
--- a/Userland/Applications/SpaceAnalyzer/main.cpp
+++ b/Userland/Applications/SpaceAnalyzer/main.cpp
@@ -353,7 +353,7 @@ int main(int argc, char* argv[])
auto retry_message_result = GUI::MessageBox::show(window,
String::formatted("Failed to delete \"{}\": {}. Retry?",
deletion_result.error().file,
- deletion_result.error().error_code.string()),
+ static_cast<Error const&>(deletion_result.error())),
"Deletion failed",
GUI::MessageBox::Type::Error,
GUI::MessageBox::InputType::YesNo);