Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
oliiso committed Jul 5, 2024
1 parent 3237791 commit 07ac6de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,8 @@ TableCell::TableCell(float d, const std::string& c, int precision, const std::st
event = e;

if (event == "Extension" && reason != "") {
extension = true;
inquiry = bad_status = override = version_conflict = cancelled = false;
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a " + std::to_string(daysExtended) + " day extension due to " + reason + " on " + gID + "\" ";
} else if (event == "Bad") {
bad_status = true;
override = inquiry = extension = version_conflict = cancelled = false;
hoverText = "class=\"hoverable-cell\" data-hover-text=\"" + userName + " received a bad status on " + gID + "\" ";
}

Expand Down Expand Up @@ -132,7 +128,6 @@ TableCell::TableCell(float d, const std::string& c, int precision, const std::st




std::ostream& operator<<(std::ostream &ostr, const TableCell &c) {
assert (c.color.size() == 6);

Expand Down

0 comments on commit 07ac6de

Please sign in to comment.