Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-fcl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guilhem Saurel
hpp-fcl
Commits
a8d70aea
Commit
a8d70aea
authored
9 years ago
by
Jeongseok Lee
Browse files
Options
Downloads
Patches
Plain Diff
Place FCL_DEPRECATED in front of function/variable/class for portability
parent
45e6c029
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/fcl/collision_object.h
+4
-2
4 additions, 2 deletions
include/fcl/collision_object.h
include/fcl/deprecated.h
+3
-4
3 additions, 4 deletions
include/fcl/deprecated.h
with
7 additions
and
6 deletions
include/fcl/collision_object.h
+
4
−
2
View file @
a8d70aea
...
...
@@ -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
();
}
...
...
This diff is collapsed.
Click to expand it.
include/fcl/deprecated.h
+
3
−
4
View file @
a8d70aea
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment