From 143440d074fa7a3d294e2d2b44b1461437b7c147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 15 Dec 2013 17:52:25 +0100 Subject: [PATCH] GCC 4.4 compatibility: fix linker errors with =default. --- src/Platform/ScreenedApplication.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platform/ScreenedApplication.hpp b/src/Platform/ScreenedApplication.hpp index 8b249b96d..b01dd9189 100644 --- a/src/Platform/ScreenedApplication.hpp +++ b/src/Platform/ScreenedApplication.hpp @@ -50,7 +50,8 @@ template BasicScreenedApplication::BasicScreened #endif Application(arguments, nullptr) {} -template BasicScreenedApplication::~BasicScreenedApplication() = default; +/* `= default` causes linker errors in GCC 4.4, maybe also in 4.5 */ +template BasicScreenedApplication::~BasicScreenedApplication() {} template BasicScreenedApplication& BasicScreenedApplication::addScreen(BasicScreen& screen) { Containers::LinkedList>::insert(&screen);