diff options
Diffstat (limited to 'Userland/Libraries/LibGLSL/Linker.cpp')
-rw-r--r-- | Userland/Libraries/LibGLSL/Linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGLSL/Linker.cpp b/Userland/Libraries/LibGLSL/Linker.cpp index 2cc1ba83ee..50e7790a89 100644 --- a/Userland/Libraries/LibGLSL/Linker.cpp +++ b/Userland/Libraries/LibGLSL/Linker.cpp @@ -26,7 +26,7 @@ ErrorOr<NonnullOwnPtr<LinkedShader>> Linker::link(Vector<ObjectFile const*> cons }; TRY(shader.instructions.try_append(instruction)); - return adopt_own(*new LinkedShader(shader)); + return try_make<LinkedShader>(shader); } } |