Skip to content

Commit 369ac4e

Browse files
committed
Fix comment namespace typos
1 parent 282b84e commit 369ac4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/init.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ template <typename Func> using functype =
299299
conditional_t<is_function_pointer<remove_reference_t<Func>>::value, remove_reference_t<Func>,
300300
Func>>;
301301

302-
// Helper definition to infer the detail::init::factory template types from a callable object
302+
// Helper definition to infer the detail::initimpl::factory template types from a callable object
303303
template <typename Func, typename Return, typename... Args>
304304
factory<functype<Func>, Return, void, void, Args...> func_decltype(Return (*)(Args...));
305305

@@ -323,7 +323,7 @@ template <typename CFunc, typename AFunc,
323323
factory<functype<CFunc>, CReturn, functype<AFunc>, AReturn, CArgs...> func_decltype(
324324
CReturn (*)(CArgs...), AReturn (*)(AArgs...));
325325

326-
// Resolves to the appropriate specialization of the `pybind11::detail::init::factory<...>` for a
326+
// Resolves to the appropriate specialization of the `pybind11::detail::initimpl::factory<...>` for a
327327
// given init function or pair of class/alias init functions.
328328
template <typename... Func> using factory_t = decltype(func_decltype<Func...>(
329329
(function_signature_t<Func> *) nullptr...));

0 commit comments

Comments
 (0)