Fix GCC 8 warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
This commit is contained in:
committed by
Yorik van Havre
parent
42820cc179
commit
ec7d24e035
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user