Skip to content

Commit

Permalink
Fix Windows compilation (#622))
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Mar 1, 2021
1 parent b8dab13 commit b0ff867
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/Conversions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ void ignition::gazebo::set(msgs::WorldStatistics *_msg,

//////////////////////////////////////////////////
template<>
IGNITION_GAZEBO_VISIBLE
msgs::Physics ignition::gazebo::convert(const sdf::Physics &_in)
{
msgs::Physics out;
Expand All @@ -851,6 +852,7 @@ msgs::Physics ignition::gazebo::convert(const sdf::Physics &_in)

//////////////////////////////////////////////////
template<>
IGNITION_GAZEBO_VISIBLE
sdf::Physics ignition::gazebo::convert(const msgs::Physics &_in)
{
sdf::Physics out;
Expand Down
2 changes: 1 addition & 1 deletion src/systems/collada_world_exporter/ColladaWorldExporter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace systems
/// \brief A plugin that exports a world to a mesh.
/// When loaded the plugin will dump a mesh containing all the models in
/// the world to the current directory.
class IGNITION_GAZEBO_VISIBLE ColladaWorldExporter:
class ColladaWorldExporter:
public System,
public ISystemPostUpdate
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ namespace systems
/// This parameter can be specified multiple times. Follows joint_name order.
/// Optional parameter.
/// The default value is 0 (no offset).
class IGNITION_GAZEBO_VISIBLE JointTrajectoryController
class JointTrajectoryController
: public System,
public ISystemConfigure,
public ISystemPreUpdate
Expand Down
2 changes: 1 addition & 1 deletion src/systems/particle_emitter/ParticleEmitter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ namespace systems
/// Note that the emitter id and name may not be changed.
/// See the examples/worlds/particle_emitter.sdf example world for
/// example usage.
class IGNITION_GAZEBO_VISIBLE ParticleEmitter
class ParticleEmitter
: public System,
public ISystemConfigure,
public ISystemPreUpdate
Expand Down
2 changes: 1 addition & 1 deletion src/systems/thermal/ThermalSensor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace systems
class ThermalSensorPrivate;

/// \brief A thermal sensor plugin for configuring thermal sensor properties
class IGNITION_GAZEBO_VISIBLE ThermalSensor:
class ThermalSensor:
public System,
public ISystemConfigure
{
Expand Down
1 change: 1 addition & 0 deletions test/integration/user_commands.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <ignition/msgs/entity_factory.pb.h>
#include <ignition/msgs/light.pb.h>
#include <ignition/msgs/physics.pb.h>

#include <ignition/common/Console.hh>
#include <ignition/common/Util.hh>
Expand Down

0 comments on commit b0ff867

Please sign in to comment.