Skip to content

Commit 8f62b7c

Browse files
Fabian Schenkmeta-codesync[bot]
authored andcommitted
Remove unused includes in .cc files
Summary: Remove 8 unused `#include` directives across 5 source files: - features/src/matching.cc: <foundation/optional.h>, <cassert> - features/src/hahog.cc: <iostream> - foundation/src/numeric.cc: <iostream> - geometry/src/camera.cc: <iostream> - map/src/map.cc: <unordered_set> - map/python/pybind.cc: <iostream>, <typeinfo> ___ overriding_review_checks_triggers_an_audit_and_retroactive_review Oncall Short Name: mrservice_triage Differential Revision: D100626883 fbshipit-source-id: 4b287e281fb0a81585c0715a08fbc1d06d74de81
1 parent 290b5af commit 8f62b7c

File tree

6 files changed

+0
-10
lines changed

6 files changed

+0
-10
lines changed

opensfm/src/features/src/hahog.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <features/hahog.h>
22

3-
#include <iostream>
43
#include <vector>
54

65
extern "C" {

opensfm/src/features/src/matching.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#include <features/matching.h>
2-
#include <foundation/optional.h>
32
#include <foundation/python_types.h>
43
#include <foundation/types.h>
54
#include <pybind11/pybind11.h>
65

7-
#include <cassert>
86
#include <limits>
97
#include <map>
108
#include <opencv2/core/core.hpp>

opensfm/src/foundation/src/numeric.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include <foundation/newton_raphson.h>
22
#include <foundation/numeric.h>
33

4-
#include <iostream>
5-
64
namespace foundation {
75
Eigen::Matrix3d SkewMatrix(const Eigen::Vector3d& v) {
86
Eigen::Matrix3d m;

opensfm/src/geometry/src/camera.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include <geometry/camera.h>
22

3-
#include <iostream>
4-
53
namespace geometry {
64
Camera::Camera(const ProjectionType& type,
75
const std::vector<Camera::Parameters>& types,

opensfm/src/map/python/pybind.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
#include <pybind11/pybind11.h>
1616
#include <pybind11/stl.h>
1717

18-
#include <iostream>
19-
#include <typeinfo>
2018
namespace py = pybind11;
2119

2220
template <typename T>

opensfm/src/map/src/map.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <cmath>
99
#include <memory>
1010
#include <stdexcept>
11-
#include <unordered_set>
1211

1312
namespace {
1413
void AssignShot(map::Shot& to, const map::Shot& from) {

0 commit comments

Comments
 (0)