Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]

This commit is contained in:
Mateusz Skowroński
2018-12-22 19:43:41 +01:00
committed by Yorik van Havre
parent 42820cc179
commit ec7d24e035
8 changed files with 12 additions and 12 deletions

View File

@@ -346,7 +346,7 @@ SbBool CADNavigationStyle::processSoEvent(const SoEvent * const ev)
// Spaceball & Joystick handling
if (type.isDerivedFrom(SoMotion3Event::getClassTypeId())) {
const SoMotion3Event * const event = static_cast<const SoMotion3Event * const>(ev);
const SoMotion3Event * const event = static_cast<const SoMotion3Event *>(ev);
if (event)
this->processMotionEvent(event);
processed = true;