Browse Source

ResourceManager: privately inherit Implementation::ResourceManagerData.

Protected inheritance has no sense, as there shouldn't be any subclasses
touching internals in Implementation namespace.
pull/7/head
Vladimír Vondruš 14 years ago
parent
commit
510755ea6e
  1. 2
      src/ResourceManager.h

2
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... Types> class ResourceManager: protected Implementation::ResourceManagerData<Types>... {
template<class... Types> class ResourceManager: private Implementation::ResourceManagerData<Types>... {
public:
/** @brief Global instance */
inline static ResourceManager<Types...>* instance() {

Loading…
Cancel
Save