1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-04 23:45:37 +00:00

Redefinition of default template argument

Sometimes it's annoying how MSVC casually allows you to break C++ standards
This commit is contained in:
Alexander "Ace" Olofsson 2015-02-09 17:25:55 +01:00
parent f77ae711e4
commit b714e5211d
2 changed files with 2 additions and 6 deletions

View file

@ -9,9 +9,7 @@
namespace CSMWorld namespace CSMWorld
{ {
struct Cell; struct Cell;
template<typename T> template<typename T, typename AT>
struct IdAccessor;
template<typename T, typename AT = IdAccessor<T> >
class IdCollection; class IdCollection;
/// \brief Wrapper for Pathgrid record /// \brief Wrapper for Pathgrid record

View file

@ -9,9 +9,7 @@ namespace ESM
namespace CSMWorld namespace CSMWorld
{ {
struct Cell; struct Cell;
template<typename T> template<typename T, typename AT>
struct IdAccessor;
template<typename T, typename AT = IdAccessor<T> >
class IdCollection; class IdCollection;
/// \brief Single type collection of top level records that are associated with cells /// \brief Single type collection of top level records that are associated with cells