Refactor refine to accomodate maintainers preferences#1272
Conversation
…methods in engine_base
|
Linux is not liking something about the virtual |
…ed in constructor
|
Calling virtual methods from a class constructor looks like grey and complex territory. I have reverted back to non-virtual methods - we should just keep in mind not to diverge the constructor functions across backends. |
|
@SteffenL could you nudge the two timed-out Windows tests |
|
Done. As for calling virtual methods from a constructor: As long as it's called from the derived class then I don't believe it's that bad. If someone were to derive from that class again and also override the same methods then that would be more concerning. Since we |
|
I wonder if the warning will disappear if we make the derived class |
|
I am happy to let go of the derived constructor methods in this PR as it's primary purpose is to tidy up your refactoring requirements, which it does. |
With relation to:
@SteffenL This is a draft PR to keep track of the code style and preferences we have been discussing.
The diffs here will become a lot less noisy as the above mentioned PR's are merged.
CI is expected to fail until then.