Adding two more tests.
Deleting useless default case.
This commit is contained in:
parent
2c3d736d5f
commit
b2f4f31abd
2 changed files with 61 additions and 3 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue