ppovb5fc7/gazebo/tools/cppcheck_rules/issue_581.rule

14 lines
400 B
Plaintext
Raw Permalink Normal View History

2019-03-25 11:01:43 +08:00
<?xml version="1.0"?>
<rule version="1">
<pattern>boost :: shared_[a-z]+_cast</pattern>
<message>
<id>deprecatedBoostFunction</id>
<severity>warning</severity>
<summary>
Calling a deprecated function, boost::shared_dynamic_cast or
boost::shared_static_cast. Use boost::dynamic_pointer_cast or
boost::static_pointer_cast instead.
</summary>
</message>
</rule>