diff --git a/src/ResourceManager.h b/src/ResourceManager.h index acb3a1553..6038d32dd 100644 --- a/src/ResourceManager.h +++ b/src/ResourceManager.h @@ -348,7 +348,7 @@ template class ResourceManager: private Implementation::Resource * @return Pointer to self (for method chaining) */ ResourceManager* free() { - freeInternal(std::common_type()...); + freeInternal(); return this; } @@ -374,11 +374,11 @@ template class ResourceManager: private Implementation::Resource } private: - template void freeInternal(std::common_type, std::common_type... t) { + template void freeInternal() { free(); - freeInternal(t...); + freeInternal(); } - void freeInternal() const {} + template void freeInternal() const {} static ResourceManager*& internalInstance(); };