Core: modernize C++: redundant void arg

This commit is contained in:
wmayer
2023-08-05 00:21:01 +02:00
committed by wwmayer
parent d37099fcbf
commit 702f3b4ddd
10 changed files with 20 additions and 20 deletions

View File

@@ -30,7 +30,7 @@
using namespace App;
// returns a string which represent the object e.g. when printed in python
std::string StringHasherPy::representation(void) const
std::string StringHasherPy::representation() const
{
std::ostringstream str;
str << "<StringHasher at " << getStringHasherPtr() << ">";
@@ -106,15 +106,15 @@ PyObject* StringHasherPy::getID(PyObject *args)
}PY_CATCH;
}
Py::Int StringHasherPy::getCount(void) const {
Py::Int StringHasherPy::getCount() const {
return Py::Int((long)getStringHasherPtr()->count());
}
Py::Int StringHasherPy::getSize(void) const {
Py::Int StringHasherPy::getSize() const {
return Py::Int((long)getStringHasherPtr()->size());
}
Py::Boolean StringHasherPy::getSaveAll(void) const {
Py::Boolean StringHasherPy::getSaveAll() const {
return Py::Boolean(getStringHasherPtr()->getSaveAll());
}
@@ -122,7 +122,7 @@ void StringHasherPy::setSaveAll(Py::Boolean value) {
getStringHasherPtr()->setSaveAll(value);
}
Py::Int StringHasherPy::getThreshold(void) const {
Py::Int StringHasherPy::getThreshold() const {
return Py::Int((long)getStringHasherPtr()->getThreshold());
}