From: Alec Thomas Date: Wed, 13 Aug 2014 22:57:31 +0000 (+1000) Subject: Make fail() static. X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=a0e981299e9005d9e05b37f3c441ac07dddc6ac1;p=clyne%2Fentityx.git Make fail() static. --- diff --git a/entityx/Entity.h b/entityx/Entity.h index 6e5eda7..e632e2b 100644 --- a/entityx/Entity.h +++ b/entityx/Entity.h @@ -225,7 +225,7 @@ struct BaseComponent { protected: - void fail() { + static void fail() { #if defined(_HAS_EXCEPTIONS) || defined(__EXCEPTIONS) throw std::bad_alloc(); #else