Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix compiler warnings: unused-local-typedef

Freya Lupendf28c4ce95ab
diff --git a/libs/pigment/tests/TestColorConversionSystem.cpp b/libs/pigment/tests/TestColorConversionSystem.cpp
index a27a15dce3..c0cf703395 100644
--- a/libs/pigment/tests/TestColorConversionSystem.cpp
+++ b/libs/pigment/tests/TestColorConversionSystem.cpp
@@ -112,8 +112,6 @@ void TestColorConversionSystem::testAlphaConnectionPaths()
{
const KoColorSpace *alpha8 = KoColorSpaceRegistry::instance()->alpha8();
- using Path = KoColorConversionSystem::Path;
- using Vertex = KoColorConversionSystem::Vertex;
using NodeKey = KoColorConversionSystem::NodeKey;
std::vector<NodeKey> expectedPath;
@@ -335,8 +333,6 @@ void TestColorConversionSystem::testAlphaU16Conversions()
void TestColorConversionSystem::testGrayAConnectionPaths()
{
- using Path = KoColorConversionSystem::Path;
- using Vertex = KoColorConversionSystem::Vertex;
using NodeKey = KoColorConversionSystem::NodeKey;
std::vector<NodeKey> expectedPath;