Skip to content

Commit

Permalink
IWYU fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Apr 1, 2024
1 parent bcfeafb commit af7046b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion python/mrc/_pymrc/include/pymrc/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <nlohmann/json_fwd.hpp>
#include <rxcpp/rx.hpp>

#include <functional>
#include <functional> // for function
#include <map>
#include <string>

Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/include/pymrc/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <pybind11/pytypes.h>
#include <sys/types.h>

#include <functional> // for function
#include <string>
#include <typeinfo>

Expand Down
13 changes: 7 additions & 6 deletions python/mrc/_pymrc/src/utilities/json_values.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@
#include <glog/logging.h>
#include <pybind11/cast.h>

#include <iterator> // for next
#include <map> // for map
#include <sstream> // for operator<< & stringstream
#include <stdexcept> // for runtime_error
#include <utility> // for move
#include <vector> // for vector
#include <functional> // for function
#include <iterator> // for next
#include <map> // for map
#include <sstream> // for operator<< & stringstream
#include <stdexcept> // for runtime_error
#include <utility> // for move
#include <vector> // for vector

// We already have <boost/algorithm/string.hpp> included we don't need these others, it is also the only public header
// with a definition for boost::is_any_of, so even if we replaced string.hpp with these others we would still need to
Expand Down
1 change: 1 addition & 0 deletions python/mrc/_pymrc/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <pyerrors.h>
#include <warnings.h>

#include <functional> // for function
#include <sstream>
#include <string>
#include <utility>
Expand Down

0 comments on commit af7046b

Please sign in to comment.