From 0e48ac0763920b336d6bf17373371ebb95e6f8c6 Mon Sep 17 00:00:00 2001 From: ykiko Date: Wed, 28 Aug 2024 11:29:39 +0800 Subject: [PATCH] some format. --- include/pybind11/tests/operators.cpp | 4 +--- include/pybind11/tests/stl.cpp | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/pybind11/tests/operators.cpp b/include/pybind11/tests/operators.cpp index e8805697..00a34155 100644 --- a/include/pybind11/tests/operators.cpp +++ b/include/pybind11/tests/operators.cpp @@ -1,7 +1,5 @@ -#include "pybind11/internal/builtins.h" #include "test.h" -#include -#include +#include "pybind11/operators.h" namespace { diff --git a/include/pybind11/tests/stl.cpp b/include/pybind11/tests/stl.cpp index 33d8a886..dfff46cf 100644 --- a/include/pybind11/tests/stl.cpp +++ b/include/pybind11/tests/stl.cpp @@ -1,5 +1,5 @@ #include "test.h" -#include +#include "pybind11/stl.h" namespace { @@ -119,7 +119,8 @@ TEST_F(PYBIND11_TEST, dict_like) { py::object obj = py::cast(m); EXPECT_EVAL_EQ("{'a': Point(1, 2), 'b': Point(3, 4)}", obj); - std::unordered_map m2 = obj.cast>(); + std::unordered_map m2 = + obj.cast>(); EXPECT_EQ(m, m2); } }