From b714e5211d19a341a95bc10bcf4c9e0ef7271227 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Mon, 9 Feb 2015 17:25:55 +0100 Subject: [PATCH] Redefinition of default template argument Sometimes it's annoying how MSVC casually allows you to break C++ standards --- apps/opencs/model/world/pathgrid.hpp | 4 +--- apps/opencs/model/world/subcellcollection.hpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/opencs/model/world/pathgrid.hpp b/apps/opencs/model/world/pathgrid.hpp index f13ad38c09..d8cc89f24f 100644 --- a/apps/opencs/model/world/pathgrid.hpp +++ b/apps/opencs/model/world/pathgrid.hpp @@ -9,9 +9,7 @@ namespace CSMWorld { struct Cell; - template - struct IdAccessor; - template > + template class IdCollection; /// \brief Wrapper for Pathgrid record diff --git a/apps/opencs/model/world/subcellcollection.hpp b/apps/opencs/model/world/subcellcollection.hpp index 4ed4308ea7..74bb6c9551 100644 --- a/apps/opencs/model/world/subcellcollection.hpp +++ b/apps/opencs/model/world/subcellcollection.hpp @@ -9,9 +9,7 @@ namespace ESM namespace CSMWorld { struct Cell; - template - struct IdAccessor; - template > + template class IdCollection; /// \brief Single type collection of top level records that are associated with cells