Skip to content

Commit

Permalink
Fixed missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
timohl committed Jan 9, 2025
1 parent 89de7a0 commit 2ba568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <cstring>
#include <memory>
#include <new>
#include <stack>
#include <string>
#include <utility>
#include <vector>
Expand Down Expand Up @@ -444,7 +445,6 @@ class cpp_function : public function {
// signature. Using `@^`/`@$` we can force types to be arg/return types while `@!` pops
// back to the previous state.
std::stack<bool> is_return_value = {false};
bool use_return_value = false;
for (const auto *pc = text; *pc != '\0'; ++pc) {
const auto c = *pc;

Expand Down

0 comments on commit 2ba568c

Please sign in to comment.