Skip to content

Commit 1593ebc

Browse files
committed
resolve clang-tidy warning
1 parent 28492ed commit 1593ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_buffers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
TEST_SUBMODULE(buffers, m) {
1717
m.def("format_descriptor_format", [](const std::string &cpp_name) {
1818
// https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
19-
static auto table = new std::map<std::string, std::string>;
19+
static auto *table = new std::map<std::string, std::string>;
2020
if (table->empty()) {
2121
#define PYBIND11_ASSIGN_HELPER(...) \
2222
(*table)[#__VA_ARGS__] = py::format_descriptor<__VA_ARGS__>::format();

0 commit comments

Comments
 (0)