style: clang-tidy: llvm-namespace-comment

This commit is contained in:
Henry Schreiner
2020-09-15 09:56:59 -04:00
committed by Henry Schreiner
parent d65e34d61d
commit 8dc31c7b29
12 changed files with 62 additions and 12 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ namespace pybind11 { namespace detail {
struct holder_helper<ref<T>> {
static const T *get(const ref<T> &p) { return p.get_ptr(); }
};
}}
} // namespace detail
} // namespace pybind11
// The following is not required anymore for std::shared_ptr, but it should compile without error:
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);