diff --git a/include/fcl/collision_object.h b/include/fcl/collision_object.h index 18b302fbc720ae7212804d731bd9825e9fc14dc1..7cc2fc5fe4fc1d9ff9fade472b515a63ca8f50e9 100644 --- a/include/fcl/collision_object.h +++ b/include/fcl/collision_object.h @@ -298,7 +298,8 @@ public: } /// @brief get geometry from the object instance - const CollisionGeometry* getCollisionGeometry() const FCL_DEPRECATED + FCL_DEPRECATED + const CollisionGeometry* getCollisionGeometry() const { return cgeom.get(); } @@ -447,7 +448,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(); } diff --git a/include/fcl/deprecated.h b/include/fcl/deprecated.h index 43ef3eee514ec6390be7310fd5eabdd5589da4fe..6a850468a0c339b488a47a3a319497b4e31969fc 100644 --- a/include/fcl/deprecated.h +++ b/include/fcl/deprecated.h @@ -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