Skip to content

Commit

Permalink
🚨 remove virtual from functions that do not need to be virtual
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Oct 11, 2023
1 parent 95fb825 commit 51fb2d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/Simulator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class Simulator {
* @param formatAsPolar Whether to format the complex numbers as polar or cartesian coordinates.
* @returns A Graphviz program representing the current DD
*/
virtual std::string exportDDtoGraphvizString(bool colored = true,
bool edgeLabels = false, bool classic = false, bool memory = false, bool formatAsPolar = true);
std::string exportDDtoGraphvizString(bool colored = true,
bool edgeLabels = false, bool classic = false, bool memory = false, bool formatAsPolar = true);

/**
* @brief Write a GraphViz representation of the currently stored DD to a file.
Expand All @@ -136,8 +136,8 @@ class Simulator {
* @param memory An alternative representation for nodes that includes detailed memory information.
* @param formatAsPolar Whether to format the complex numbers as polar or cartesian coordinates.
*/
virtual void exportDDtoGraphvizFile(const std::string& filename, bool colored = true,
bool edgeLabels = false, bool classic = false, bool memory = false, bool formatAsPolar = true);
void exportDDtoGraphvizFile(const std::string& filename, bool colored = true,
bool edgeLabels = false, bool classic = false, bool memory = false, bool formatAsPolar = true);

std::unique_ptr<dd::Package<Config>> dd = std::make_unique<dd::Package<Config>>();
dd::vEdge rootEdge{};
Expand Down

0 comments on commit 51fb2d7

Please sign in to comment.