synthprop: Use override keyword
`formatted_help()` introduced the override keyword, which means that the other two methods that were marked as virtual instead raised a warning about inconsistent use of override. This fixes that by bringing the synthprop (more) in line with the rest of the code-base.
This commit is contained in:
@@ -187,7 +187,7 @@ struct SyntProperties : public Pass {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual void help()
|
||||
void help() override
|
||||
{
|
||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
log("\n");
|
||||
@@ -216,7 +216,7 @@ struct SyntProperties : public Pass {
|
||||
log("\n");
|
||||
}
|
||||
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design* design)
|
||||
void execute(std::vector<std::string> args, RTLIL::Design* design) override
|
||||
{
|
||||
log_header(design, "Executing SYNTHPROP pass.\n");
|
||||
SynthPropWorker worker(design);
|
||||
|
||||
Reference in New Issue
Block a user