Skip to content

Commit

Permalink
Optimize includes (#354)
Browse files Browse the repository at this point in the history
As suggested by include-what-you-use
  • Loading branch information
mvieth committed Aug 28, 2020
1 parent 0a908b0 commit 51ca543
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cv_bridge/include/cv_bridge/rgb_colors.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#ifndef CV_BRIDGE_RGB_COLORS_H_
#define CV_BRIDGE_RGB_COLORS_H_

#include <opencv2/opencv.hpp>
#include <opencv2/core/matx.hpp>


namespace cv_bridge
Expand Down
1 change: 0 additions & 1 deletion cv_bridge/src/rgb_colors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
*********************************************************************/

#include "cv_bridge/rgb_colors.h"
#include <opencv2/core/core.hpp>


namespace cv_bridge
Expand Down
3 changes: 1 addition & 2 deletions image_geometry/include/image_geometry/pinhole_camera_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
#define IMAGE_GEOMETRY_PINHOLE_CAMERA_MODEL_H

#include <sensor_msgs/CameraInfo.h>
#include <opencv2/core/core.hpp>
#include <opencv2/core/mat.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <stdexcept>
#include <string>
#include "exports.h"
Expand Down
1 change: 1 addition & 0 deletions image_geometry/src/pinhole_camera_model.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "image_geometry/pinhole_camera_model.h"
#include <sensor_msgs/distortion_models.h>
#include <opencv2/calib3d/calib3d.hpp>
#ifdef BOOST_SHARED_PTR_HPP_INCLUDED
#include <boost/make_shared.hpp>
#endif
Expand Down
1 change: 1 addition & 0 deletions image_geometry/src/stereo_camera_model.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "image_geometry/stereo_camera_model.h"
#include <opencv2/calib3d/calib3d.hpp>

namespace image_geometry {

Expand Down

0 comments on commit 51ca543

Please sign in to comment.