From d0977ac566330916d9ad7ad4258e41361fffb89a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 28 Feb 2023 16:39:41 +0100 Subject: LibCore+LibGUI+About: Use String in Core::Version and GUI::AboutDialog The Core::Version API now returns ErrorOr, and the GUI::AboutDialog API was adjusted to accommodate this. --- Userland/Libraries/LibCore/Version.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Userland/Libraries/LibCore/Version.h') diff --git a/Userland/Libraries/LibCore/Version.h b/Userland/Libraries/LibCore/Version.h index 35f54ad0fd..9cda59f5ba 100644 --- a/Userland/Libraries/LibCore/Version.h +++ b/Userland/Libraries/LibCore/Version.h @@ -1,15 +1,16 @@ /* * Copyright (c) 2021, Mahmoud Mandour + * Copyright (c) 2023, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once -#include +#include namespace Core::Version { -DeprecatedString read_long_version_string(); +ErrorOr read_long_version_string(); } -- cgit v1.2.3