Skip to content

Commit

Permalink
forgot inline keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas O'Connor committed Mar 24, 2016
1 parent 4930061 commit 1df8de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tilandis/tristate.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum tristate {
Mixed
};

tristate operator==(tristate& lhs, bool& rhs) {
inline tristate operator==(tristate& lhs, bool& rhs) {
if (lhs == True) {
switch (rhs) {
case true:
Expand Down Expand Up @@ -65,7 +65,7 @@ tristate operator==(tristate& lhs, bool& rhs) {
}
}

bool operator==(bool& lhs, tristate& rhs) {
inline bool operator==(bool& lhs, tristate& rhs) {
if (rhs == True) {
switch (lhs) {
case true:
Expand Down

0 comments on commit 1df8de8

Please sign in to comment.