Fix the first example in the first steps guide not compiling (#5823)

The alias of the pybind11 namespace is missing
This commit is contained in:
Plamen Totev
2025-09-03 19:07:22 +03:00
committed by GitHub
parent cd56888c89
commit bf2d56e8ac

View File

@@ -108,6 +108,8 @@ a file named :file:`example.cpp` with the following contents:
#include <pybind11/pybind11.h>
namespace py = pybind11;
int add(int i, int j) {
return i + j;
}