Browse Source

Change Module::getExpander() side argument to int.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
a96f9e570e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      include/engine/Module.hpp

+ 2
- 2
include/engine/Module.hpp View File

@@ -298,8 +298,8 @@ struct Module {
Expander& getRightExpander() {
return rightExpander;
}
/** Returns the left Expander if `side` is false, and the right Expander if `side` is true. */
Expander& getExpander(bool side) {
/** Returns the left Expander for `side = 0` and the right Expander for `side = 1`. */
Expander& getExpander(int side) {
return side ? rightExpander : leftExpander;
}



Loading…
Cancel
Save