Browse Source

MSVC 2013 compatibility: that thing doesn't like typename here.

Although all other compilers _do want_ the typename there.
Vladimír Vondruš 13 years ago
parent
commit
530bb1fc1f
  1. 4
      src/SceneGraph/Object.h

4
src/SceneGraph/Object.h

@ -256,7 +256,11 @@ template<class Transformation> class Object: public AbstractObject<Transformatio
*/
/* `objects` passed by copy intentionally (to allow move from
transformationMatrices() and avoid copy in the function itself) */
#ifndef CORRADE_MSVC2013_COMPATIBILITY
std::vector<typename Transformation::DataType> transformations(std::vector<Object<Transformation>*> objects, const typename Transformation::DataType& initialTransformation = typename Transformation::DataType()) const;
#else
std::vector<typename Transformation::DataType> transformations(std::vector<Object<Transformation>*> objects, const typename Transformation::DataType& initialTransformation = Transformation::DataType()) const;
#endif
/*@}*/

Loading…
Cancel
Save