Skip to content

Commit

Permalink
Merge branch 'gz-plugin2' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
azeey authored May 9, 2023
2 parents 4cdd730 + 410de69 commit 97e3676
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/plugin_unload.hh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// \brief Load the InstanceCounter plugin
/// \param[in] _nodelete True if RTLD_NODELETE should be used when loading the
/// \return Pointer to the plugin
gz::plugin::PluginPtr LoadInstanceCounter(bool _nodelete)
inline gz::plugin::PluginPtr LoadInstanceCounter(bool _nodelete)
{
gz::plugin::Loader pl;

Expand All @@ -50,7 +50,8 @@ gz::plugin::PluginPtr LoadInstanceCounter(bool _nodelete)
/// \param[in] _nodelete True if RTLD_NODELETE should be used when loading the
/// library.
/// \param[in] _numExpectedInstances Expected number of instances of the plugin.
void LoadAndTestInstanceCounter(bool _nodelete, int _numExpectedInstances)
inline void LoadAndTestInstanceCounter(bool _nodelete,
int _numExpectedInstances)
{
gz::plugin::PluginPtr instanceCounterPlugin = LoadInstanceCounter(_nodelete);
test::util::InstanceCounterBase *instanceCounter =
Expand Down

0 comments on commit 97e3676

Please sign in to comment.