mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 01:36:21 +00:00
added [[noreturn]] attribute to pybind11_fail
This commit is contained in:
@@ -56,7 +56,6 @@ public:
|
||||
/* This function has no arguments. The trailing comma
|
||||
in the previous line is needed for some compilers */
|
||||
);
|
||||
throw std::runtime_error("this will never be reached");
|
||||
}
|
||||
|
||||
virtual void pure_virtual() {
|
||||
|
||||
Reference in New Issue
Block a user