File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ struct internals {
98
98
99
99
// / Each module locally stores a pointer to the `internals` data. The data
100
100
// / itself is shared among modules with the same `PYBIND11_INTERNALS_ID`.
101
- PYBIND11_NOINLINE inline internals *&get_internals_ptr() {
101
+ inline internals *&get_internals_ptr() {
102
102
static internals *internals_ptr = nullptr ;
103
103
return internals_ptr;
104
104
}
@@ -167,7 +167,7 @@ PYBIND11_NOINLINE inline internals &get_internals() {
167
167
}
168
168
169
169
// / Works like `internals.registered_types_cpp`, but for module-local registered types:
170
- PYBIND11_NOINLINE inline type_map<type_info *> ®istered_local_types_cpp () {
170
+ inline type_map<type_info *> ®istered_local_types_cpp () {
171
171
static type_map<type_info *> locals{};
172
172
return locals;
173
173
}
You can’t perform that action at this time.
0 commit comments