MassManager: fix the notation for deleteMass().

This commit is contained in:
Guillaume Jacquemin 2020-01-14 10:39:13 +01:00 committed by Guillaume Jacquemin
parent 6bb5b4a6bd
commit 8fc5f1ecc5

View file

@ -205,7 +205,7 @@ auto MassManager::moveMass(int source, int destination) -> bool {
return true; return true;
} }
bool MassManager::deleteMass(int hangar) { auto MassManager::deleteMass(int hangar) -> bool {
if(hangar < 0 && hangar >= 32) { if(hangar < 0 && hangar >= 32) {
_lastError = "Hangar number out of range in MassManager::deleteMass()"; _lastError = "Hangar number out of range in MassManager::deleteMass()";
return false; return false;