diff --git a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp index d6c7f068c..f78cb01b6 100644 --- a/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp +++ b/src/Magnum/Platform/Test/EmscriptenApplicationTest.cpp @@ -124,9 +124,9 @@ struct EmscriptenApplicationTest: Platform::Application { { Debug d; if(event.key() != KeyEvent::Key::Unknown) { - d << "keyReleaseEvent(" << Debug::nospace << event.keyName().data() << Debug::nospace << "): ✔"; + d << "keyReleaseEvent(" << Debug::nospace << event.keyName() << Debug::nospace << "): ✔"; } else { - d << "keyReleaseEvent(" << Debug::nospace << event.keyName().data() << Debug::nospace << "): ✘"; + d << "keyReleaseEvent(" << Debug::nospace << event.keyName() << Debug::nospace << "): ✘"; } if(event.modifiers() & KeyEvent::Modifier::Shift) d << "Shift";