Skip to content

Commit 533af13

Browse files
committed
fix: drop duplicate translate_exception declaration
Assisted-by: ClaudeCode:claude-fable-5
1 parent 0becfbc commit 533af13

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
@@ -523,7 +523,7 @@ bool handle_nested_exception(const T &exc, const std::exception_ptr &p) {
523523

524524
bool raise_err(PyObject *exc_type, const char *msg);
525525

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

528528
#if !defined(__GLIBCXX__)
529529
void translate_local_exception(std::exception_ptr p);

0 commit comments

Comments
 (0)