From 510755ea6ebc1fb34b680eec394d71453f4f4e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 24 Nov 2012 16:08:11 +0100 Subject: [PATCH] ResourceManager: privately inherit Implementation::ResourceManagerData. Protected inheritance has no sense, as there shouldn't be any subclasses touching internals in Implementation namespace. --- src/ResourceManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResourceManager.h b/src/ResourceManager.h index 6d0b0a860..4a5e1cf49 100644 --- a/src/ResourceManager.h +++ b/src/ResourceManager.h @@ -272,7 +272,7 @@ cube->draw(); /* Due to too much work involved with explicit template instantiation (all Resource combinations, all ResourceManagerData...), this class doesn't have template implementation file. */ -template class ResourceManager: protected Implementation::ResourceManagerData... { +template class ResourceManager: private Implementation::ResourceManagerData... { public: /** @brief Global instance */ inline static ResourceManager* instance() {