Skip to content

Commit

Permalink
iwyu cleanup (comprehensive only for cast.h and smart_holder*.h files).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Feb 24, 2021
1 parent 62afdc0 commit 4f5f441
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/pybind11/detail/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#pragma once

#include "class.h"
#include "smart_holder_sfinae_hooks_only.h"

PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)
PYBIND11_NAMESPACE_BEGIN(detail)
Expand Down
13 changes: 13 additions & 0 deletions include/pybind11/detail/smart_holder_type_casters.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@

#pragma once

#include "../pytypes.h"
#include "common.h"
#include "descr.h"
#include "internals.h"
#include "smart_holder_poc.h"
#include "smart_holder_sfinae_hooks_only.h"
#include "type_caster_base.h"
#include "typeid.h"

#include <cstddef>
#include <memory>
#include <new>
#include <string>
#include <type_traits>
#include <typeinfo>
#include <utility>

PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE)

Expand Down
1 change: 1 addition & 0 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include "options.h"
#include "detail/class.h"
#include "detail/init.h"
#include "detail/smart_holder_sfinae_hooks_only.h"

#include <memory>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/pybind11/smart_holder.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#pragma once

#include "detail/common.h"
#include "detail/smart_holder_type_casters.h"
#include "pybind11.h"

Expand Down

0 comments on commit 4f5f441

Please sign in to comment.