Skip to content

Commit c7a72cb

Browse files
committed
fix: drop duplicate translate_exception declaration
Assisted-by: ClaudeCode:claude-fable-5
1 parent 657dd93 commit c7a72cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/pybind11/detail/internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ bool handle_nested_exception(const T &exc, const std::exception_ptr &p) {
510510

511511
bool raise_err(PyObject *exc_type, const char *msg);
512512

513-
void translate_exception(std::exception_ptr p);
513+
// translate_exception is forward-declared near the top of this header
514514

515515
#if !defined(__GLIBCXX__)
516516
void translate_local_exception(std::exception_ptr p);

0 commit comments

Comments
 (0)