We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f886f2 commit de04b98Copy full SHA for de04b98
source/Colors/TColor.inl
@@ -35,6 +35,11 @@ namespace Langulus::Math
35
alpha = 255;
36
}
37
38
+ reinterpret_cast<unsigned&>(from) &=
39
+ ~(static_cast<unsigned>(Logger::NextColor)
40
+ | static_cast<unsigned>(Logger::PreviousColor)
41
+ );
42
+
43
switch (from) {
44
case Logger::DarkBlue:
45
case Logger::DarkBlueBgr:
@@ -166,6 +171,9 @@ namespace Langulus::Math
166
171
else
167
172
red = green = blue = 0;
168
173
break;
174
+ default:
175
+ // Not reachable, but avoid warnings
176
+ break;
169
177
170
178
179
0 commit comments