fix: use OVERRIDE instead of OVERLOAD (#2490)

* fix: use OVERRIDE instead of OVERLOAD

* docs: more accurate statement
This commit is contained in:
Henry Schreiner
2020-09-15 12:10:31 -04:00
committed by GitHub
parent 16f199f8d9
commit dabbbf315d
3 changed files with 6 additions and 5 deletions

View File

@@ -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 */);
}
};