[graphics/krita] libs/pigment: Fix -Wmismatched-tags

Freya Lupen <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a85b63e7556e3e07f91f58c68f009706ea157b95 by Freya Lupen.
Committed on 16/07/2026 at 17:35.
Pushed by freyalupen into branch 'master'.

Fix -Wmismatched-tags

Declare KoColorProfileQuery consistently as a struct;
fixes 1820 compilation warnings.

M  +1    -1    libs/pigment/KoColorConversionSystem.h
M  +1    -1    libs/pigment/KoColorSpaceFactory.h

https://invent.kde.org/graphics/krita/-/commit/a85b63e7556e3e07f91f58c68f009706ea157b95

diff --git a/libs/pigment/KoColorConversionSystem.h b/libs/pigment/KoColorConversionSystem.h
index bd4609d03eb..76427faabd2 100644
--- a/libs/pigment/KoColorConversionSystem.h
+++ b/libs/pigment/KoColorConversionSystem.h
@@ -8,7 +8,7 @@
 #define _KO_COLOR_CONVERSION_SYSTEM_H_
 
 class KoColorProfile;
-class KoColorProfileQuery;
+struct KoColorProfileQuery;
 class KoColorSpace;
 class KoColorSpaceFactory;
 class KoColorSpaceEngine;
diff --git a/libs/pigment/KoColorSpaceFactory.h b/libs/pigment/KoColorSpaceFactory.h
index 9394d4c7794..2daaa99a996 100644
--- a/libs/pigment/KoColorSpaceFactory.h
+++ b/libs/pigment/KoColorSpaceFactory.h
@@ -13,7 +13,7 @@
 #include "kritapigment_export.h"
 
 class KoColorProfile;
-class KoColorProfileQuery;
+struct KoColorProfileQuery;
 class KoColorConversionTransformationFactory;
 
 /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.