Adding two more tests.

Deleting useless default case.
This commit is contained in:
Pcornat 2024-03-08 16:30:38 +01:00
parent 2c3d736d5f
commit b2f4f31abd
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
2 changed files with 61 additions and 3 deletions

View file

@ -229,9 +229,6 @@ namespace character {
case toolsHash:
billy.push_back(static_cast<tools>(value));
break;
default:
SPDLOG_CRITICAL("Deserialize billy objects error, wrong hash.");
throw std::runtime_error("Deserialize billy objects error, wrong hash.");
}
}
}