-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[all] Fix warnings #376
base: master
Are you sure you want to change the base?
[all] Fix warnings #376
Conversation
@@ -289,7 +289,7 @@ void PythonEnvironment::Init() | |||
for( const auto& elem : map) | |||
{ | |||
Plugin p = elem.second; | |||
if ( p.getModuleName() == sofa_tostring(SOFA_TARGET) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the warning in this case?
@@ -120,7 +120,7 @@ class SOFAPYTHON3_API PythonEnvironment | |||
struct SceneLoaderListerner : public SceneLoader::Listener | |||
{ | |||
/// possibly unload python modules to force importing their eventual modifications | |||
virtual void rightBeforeLoadingScene(); | |||
virtual void rightBeforeLoadingScene() override; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
virtual void rightBeforeLoadingScene() override; | |
virtual void rightBeforeLoadingScene(SceneLoader* sceneLoader) override; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also implies that sceneLoader
is unused in the implementation of this function in the cpp file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was not just a warning. It is a bug introduced by sofa-framework/sofa#3799 because the override
keyword was missing in the first place.
No description provided.