We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28492ed commit 1593ebcCopy full SHA for 1593ebc
tests/test_buffers.cpp
@@ -16,7 +16,7 @@
16
TEST_SUBMODULE(buffers, m) {
17
m.def("format_descriptor_format", [](const std::string &cpp_name) {
18
// https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
19
- static auto table = new std::map<std::string, std::string>;
+ static auto *table = new std::map<std::string, std::string>;
20
if (table->empty()) {
21
#define PYBIND11_ASSIGN_HELPER(...) \
22
(*table)[#__VA_ARGS__] = py::format_descriptor<__VA_ARGS__>::format();
0 commit comments