LibGUI: Fix const-correctness issues

This commit is contained in:
Andreas Kling 2023-02-20 19:03:44 +01:00
commit faa1a09042
Notes: sideshowbarker 2024-07-17 23:00:03 +09:00
44 changed files with 180 additions and 183 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2018-2023, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
@ -31,7 +31,7 @@ private:
AboutDialog(StringView name, StringView version, Gfx::Bitmap const* icon = nullptr, Window* parent_window = nullptr);
DeprecatedString m_name;
RefPtr<Gfx::Bitmap> m_icon;
RefPtr<Gfx::Bitmap const> m_icon;
DeprecatedString m_version_string;
};
}