Rework several libraries to use new StringViewDictionary
This commit is contained in:
@@ -7,7 +7,7 @@ using namespace CreatureLib::Library;
|
||||
TEST_CASE("Iterate over library") {
|
||||
auto& lib = TestLibrary::Get()->GetSpeciesLibrary();
|
||||
auto i = 0;
|
||||
for (auto b : *lib) {
|
||||
for (auto& b : *lib) {
|
||||
if (i == 0) {
|
||||
CHECK(b.second->GetName() == "testSpecies1"_cnc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user