According the modifs in master, variables TRANSLATION ROTATION SCALING REFLECTION IDENTITY are always const.

This commit is contained in:
Guillaume Damiand 2014-12-17 14:59:19 +01:00
parent ff79502a72
commit d96bdd9d4b
2 changed files with 10 additions and 22 deletions

View File

@ -38,11 +38,11 @@ class Identity_transformation {};
#ifndef CGAL_HEADER_ONLY
CGAL_EXPORT extern Translation TRANSLATION;
CGAL_EXPORT extern Rotation ROTATION;
CGAL_EXPORT extern Scaling SCALING;
CGAL_EXPORT extern Reflection REFLECTION;
CGAL_EXPORT extern Identity_transformation IDENTITY;
CGAL_EXPORT extern const Translation TRANSLATION;
CGAL_EXPORT extern const Rotation ROTATION;
CGAL_EXPORT extern const Scaling SCALING;
CGAL_EXPORT extern const Reflection REFLECTION;
CGAL_EXPORT extern const Identity_transformation IDENTITY;
#endif

View File

@ -24,22 +24,10 @@
namespace CGAL {
#ifdef CGAL_HEADER_ONLY
const Translation TRANSLATION;
const Rotation ROTATION;
const Scaling SCALING;
const Reflection REFLECTION;
const Identity_transformation IDENTITY;
#else // CGAL_HEADER_ONLY
Translation TRANSLATION;
Rotation ROTATION;
Scaling SCALING;
Reflection REFLECTION;
Identity_transformation IDENTITY;
#endif // CGAL_HEADER_ONLY
const Translation TRANSLATION = Translation();
const Rotation ROTATION = Rotation();
const Scaling SCALING = Scaling();
const Reflection REFLECTION = Reflection();
const Identity_transformation IDENTITY = Identity_transformation();
} //namespace CGAL