From b8e42e3fe21fa657e93857a0e6321a3a780a8f47 Mon Sep 17 00:00:00 2001 From: auria Date: Sat, 7 Dec 2013 16:23:40 +0000 Subject: [PATCH] Apply patch tested by SuperMat to fix clang compilation git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14649 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/states_screens/offline_kart_selection.cpp | 2 ++ src/states_screens/offline_kart_selection.hpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/states_screens/offline_kart_selection.cpp b/src/states_screens/offline_kart_selection.cpp index be6e11135..296678360 100644 --- a/src/states_screens/offline_kart_selection.cpp +++ b/src/states_screens/offline_kart_selection.cpp @@ -11,3 +11,5 @@ OfflineKartSelectionScreen::~OfflineKartSelectionScreen() { //dtor } + +bool OfflineKartSelectionScreen::isRunning() { return singleton!=NULL; } diff --git a/src/states_screens/offline_kart_selection.hpp b/src/states_screens/offline_kart_selection.hpp index a8f3cfccb..5cfe747fb 100644 --- a/src/states_screens/offline_kart_selection.hpp +++ b/src/states_screens/offline_kart_selection.hpp @@ -12,7 +12,7 @@ class OfflineKartSelectionScreen : public KartSelectionScreen, public GUIEngine: virtual ~OfflineKartSelectionScreen(); public: - static bool isRunning() { return singleton!=NULL; } + static bool isRunning(); // we do not override anything, this class is just there to have a singleton };