Remove usage of getDataFolderName() for ModDataChecker.

This commit is contained in:
Mikaël Capelle
2020-05-20 19:53:49 +02:00
parent 05e79cc13b
commit 5f9d2b296d
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -102,10 +102,6 @@ bool LocalSavegamesWrapper::prepareProfile(MOBase::IProfile * profile)
/////////////////////////////
/// ModDataChecker Wrapper
QString ModDataCheckerWrapper::getDataFolderName() const {
return basicWrapperFunctionImplementation<ModDataCheckerWrapper, QString>(this, "getDataFolderName");
}
bool ModDataCheckerWrapper::dataLooksValid(std::shared_ptr<const MOBase::IFileTree> fileTree) const {
return basicWrapperFunctionImplementation<ModDataCheckerWrapper, bool>(this, "dataLooksValid", fileTree);
}
@@ -282,7 +278,6 @@ void registerGameFeaturesPythonConverters()
;
bpy::class_<ModDataCheckerWrapper, boost::noncopyable>("ModDataChecker")
.def("getDataFolderName", bpy::pure_virtual(&ModDataChecker::getDataFolderName))
.def("dataLooksValid", bpy::pure_virtual(&ModDataChecker::dataLooksValid))
;
-1
View File
@@ -83,7 +83,6 @@ public:
static constexpr const char* className = "ModDataCheckerWrapper";
using boost::python::wrapper<ModDataChecker>::get_override;
virtual QString getDataFolderName() const override;
virtual bool dataLooksValid(std::shared_ptr<const MOBase::IFileTree> fileTree) const;
};