Fix const correctness

This commit is contained in:
Thomas Tanner
2015-12-26 15:47:50 +00:00
parent de99a71085
commit d144d7c97b
+1 -1
View File
@@ -228,7 +228,7 @@ struct IOrganizerWrapper: MOBase::IOrganizer, boost::python::wrapper<MOBase::IOr
virtual bool onAboutToRun(const std::function<bool(const QString&)> &func) { return this->get_override("onAboutToRun")(func); }
virtual bool onFinishedRun(const std::function<void(const QString&, unsigned int)> &func) { return this->get_override("onFinishedRun")(func); }
virtual bool onModInstalled(const std::function<void(const QString&)> &func) { return this->get_override("onModInstalled")(func); }
virtual MOBase::IProfile *profile() override { return this->get_override("profile")(); }
virtual MOBase::IProfile *profile() const override { return this->get_override("profile")(); }
virtual MOBase::IPluginGame const *managedGame() const { return this->get_override("managedGame")(); }
virtual QStringList modsSortedByProfilePriority() const override { return this->get_override("modsSortedByProfilePriority")(); }
};