| 135 | } |
| 136 | |
| 137 | void CreditSystem::setShowOnScreen(Credit credit, bool showOnScreen) noexcept { |
| 138 | if (credit._id < this->_credits.size() && |
| 139 | credit._generation == this->_credits[credit._id].generation) { |
| 140 | this->_credits[credit._id].showOnScreen = showOnScreen; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | const std::string& CreditSystem::getHtml(Credit credit) const noexcept { |
| 145 | if (credit._id < this->_credits.size() && |
no test coverage detected