Commit a8d70aea authored by Jeongseok Lee's avatar Jeongseok Lee
Browse files

Place FCL_DEPRECATED in front of function/variable/class for portability

parent 45e6c029
......@@ -297,7 +297,8 @@ public:
}
/// @brief get geometry from the object instance
const CollisionGeometry* getCollisionGeometry() const FCL_DEPRECATED
FCL_DEPRECATED
const CollisionGeometry* getCollisionGeometry() const
{
return cgeom.get();
}
......@@ -446,7 +447,8 @@ public:
}
/// @brief get geometry from the object instance
inline const CollisionGeometry* getCollisionGeometry() const FCL_DEPRECATED
FCL_DEPRECATED
inline const CollisionGeometry* getCollisionGeometry() const
{
return cgeom.get();
}
......
......@@ -41,14 +41,13 @@
// variable as deprecated (i.e. it will emit a warning when using it).
//
// Tagging a function as deprecated:
// void foo () FCL_DEPRECATED;
// FCL_DEPRECATED void foo ();
//
// Tagging a type as deprecated:
// class Foo {};
// typedef Foo Bar FCL_DEPRECATED;
// FCL_DEPRECATED class Foo {};
//
// Tagging a variable as deprecated:
// int a FCL_DEPRECATED = 0;
// FCL_DEPRECATED int a = 0;
//
// The use of a macro is required as this is /not/ a standardized
// feature of C++ language or preprocessor, even if most of the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment