Skip to content

Commit f56139c

Browse files
committed
Remove redundant forward decl
1 parent 3074c43 commit f56139c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/pybind11/detail/internals.h

-3
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,6 @@ inline internals **&get_internals_pp() {
342342
return s_internals_pp;
343343
}
344344

345-
// forward decl
346-
inline void translate_exception(std::exception_ptr);
347-
348345
template <class T,
349346
enable_if_t<std::is_same<std::nested_exception, remove_cvref_t<T>>::value, int> = 0>
350347
bool handle_nested_exception(const T &exc, const std::exception_ptr &p) {

0 commit comments

Comments
 (0)