https://bugs.kde.org/show_bug.cgi?id=499789

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/6d6667fc2a |ma/kwin/-/commit/196c95d8bb
                   |3f0a5e51676be267a5a8e1ce3c1 |ab6519d0cc742ae3b595081051c
                   |337                         |08e

--- Comment #28 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 196c95d8bbab6519d0cc742ae3b595081051c08e by Vlad Zahorodnii.
Committed on 16/02/2025 at 22:39.
Pushed by vladz into branch 'Plasma/6.3'.

core: Fix initialization of IccProfile::s_connectionSpace

Colorimetry constants can be initialized after IccProfile::s_connectionSpace
when LTO is enabled. It's okay with the C++ standard.

As a way around it, this change moves the CIEXYZD50 constant to the
IccProfile where it's actually needed.

We need to reconsider how the constants are defined, e.g. have static
getters or use constexpr. But as a short term solution, this should be
fine.

Co-authored-by: Xaver Hugl <xaver.h...@gmail.com>
(cherry picked from commit 6d6667fc2a3f0a5e51676be267a5a8e1ce3c1337)

M  +0    -8    src/core/colorspace.cpp
M  +0    -1    src/core/colorspace.h
M  +8    -1    src/core/iccprofile.cpp

https://invent.kde.org/plasma/kwin/-/commit/196c95d8bbab6519d0cc742ae3b595081051c08e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to