mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 09:46:10 +00:00
fix: use OVERRIDE instead of OVERLOAD (#2490)
* fix: use OVERRIDE instead of OVERLOAD * docs: more accurate statement
This commit is contained in:
@@ -159,7 +159,7 @@ struct Base {
|
||||
|
||||
struct DispatchIssue : Base {
|
||||
std::string dispatch() const override {
|
||||
PYBIND11_OVERLOAD_PURE(std::string, Base, dispatch, /* no arguments */);
|
||||
PYBIND11_OVERRIDE_PURE(std::string, Base, dispatch, /* no arguments */);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user