mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
LibGfx: Fix const-correctness issues
This commit is contained in:
parent
38b6eedd54
commit
bfe081caad
9 changed files with 16 additions and 13 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2020, Stephan Unverwerth <s.unverwerth@serenityos.org>
|
||||
* Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -202,7 +203,7 @@ public:
|
|||
Font const& bold_variant() const;
|
||||
|
||||
private:
|
||||
mutable RefPtr<Gfx::Font> m_bold_variant;
|
||||
mutable RefPtr<Gfx::Font const> m_bold_variant;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue