diff --git a/src/Audio/Test/AbstractImporterTest.cpp b/src/Audio/Test/AbstractImporterTest.cpp index 681e3f3d1..57edac8b4 100644 --- a/src/Audio/Test/AbstractImporterTest.cpp +++ b/src/Audio/Test/AbstractImporterTest.cpp @@ -59,7 +59,13 @@ void AbstractImporterTest::openFile() { Buffer::Format doFormat() const override { return Buffer::Format(); } UnsignedInt doFrequency() const override { return {}; } - Corrade::Containers::Array doData() override { return nullptr; } + Corrade::Containers::Array doData() override { + #ifndef CORRADE_GCC45_COMPATIBILITY + return nullptr; + #else + return {}; + #endif + } bool opened; };