summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibDesktop/Launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibDesktop/Launcher.cpp')
-rw-r--r--Userland/Libraries/LibDesktop/Launcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibDesktop/Launcher.cpp b/Userland/Libraries/LibDesktop/Launcher.cpp
index 90ce83bc7e..da1a321c35 100644
--- a/Userland/Libraries/LibDesktop/Launcher.cpp
+++ b/Userland/Libraries/LibDesktop/Launcher.cpp
@@ -16,7 +16,7 @@ namespace Desktop {
auto Launcher::Details::from_details_str(const String& details_str) -> NonnullRefPtr<Details>
{
- auto details = adopt(*new Details);
+ auto details = adopt_ref(*new Details);
auto json = JsonValue::from_string(details_str);
VERIFY(json.has_value());
auto obj = json.value().as_object();