Skip to content

Commit

Permalink
Fix BOOST_JOIN moc error with Qt 4 and Boost 1.58 (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerj authored and dhood committed Apr 26, 2018
1 parent a54d547 commit 8a5201e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/rviz/robot/robot.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
#include <OgreQuaternion.h>
#include <OgreAny.h>

#ifndef Q_MOC_RUN
#include <urdf/model.h> // can be replaced later by urdf_model/types.h
#endif

namespace Ogre
{
Expand Down
2 changes: 1 addition & 1 deletion src/rviz/robot/robot_joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
#include <OgreQuaternion.h>
#include <OgreAny.h>
#include <OgreMaterial.h>
#endif

#include <urdf/model.h>
#include <urdf_model/pose.h>
#endif

#include "rviz/ogre_helpers/object.h"
#include "rviz/selection/forwards.h"
Expand Down
2 changes: 1 addition & 1 deletion src/rviz/robot/robot_link.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
#include <OgreAny.h>
#include <OgreMaterial.h>
#include <OgreSharedPtr.h>
#endif

#include <urdf/model.h> // can be replaced later by urdf_model/types.h
#include <urdf_model/pose.h>
#endif

#include "rviz/ogre_helpers/object.h"
#include "rviz/selection/forwards.h"
Expand Down

0 comments on commit 8a5201e

Please sign in to comment.