From 35b86e3aa1c3f921fd12f702a8a71a79f7804a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 8 Feb 2018 08:47:48 +0100 Subject: [PATCH] Fix Android assertion (#7148) --- src/openrct2/platform/Platform.Android.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2/platform/Platform.Android.cpp b/src/openrct2/platform/Platform.Android.cpp index 8262a55007..aabd5f328c 100644 --- a/src/openrct2/platform/Platform.Android.cpp +++ b/src/openrct2/platform/Platform.Android.cpp @@ -16,7 +16,7 @@ #ifdef __ANDROID__ -#include +#include "../core/Guard.hpp" #include "Platform2.h" namespace Platform @@ -48,7 +48,7 @@ namespace Platform std::string GetCurrentExecutablePath() { - assert(false, "GetCurrentExecutablePath() not implemented for Android."); + Guard::Assert(false, "GetCurrentExecutablePath() not implemented for Android."); return std::string(); } }