mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-25 07:14:50 +00:00
Add more readability tidy rules (#5924)
* Apply clang-tidy readibility fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Add checks Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> Signed-off-by: cyy <cyyever@outlook.com>
This commit is contained in:
@@ -1860,7 +1860,7 @@ public:
|
||||
using value_type = container_type::value_type;
|
||||
using size_type = container_type::size_type;
|
||||
|
||||
common_iterator() : m_strides() {}
|
||||
common_iterator() = default;
|
||||
|
||||
common_iterator(void *ptr, const container_type &strides, const container_type &shape)
|
||||
: p_ptr(reinterpret_cast<char *>(ptr)), m_strides(strides.size()) {
|
||||
|
||||
Reference in New Issue
Block a user