Support ConstString in TypeLibrary.

This commit is contained in:
2020-02-29 15:41:43 +01:00
parent 4866edebab
commit 4341efb54c
3 changed files with 11 additions and 15 deletions

View File

@@ -57,9 +57,9 @@ GrowthRateLibrary* TestLibrary::BuildGrowthRateLibrary() {
TypeLibrary* TestLibrary::BuildTypeLibrary() {
auto l = new TypeLibrary();
l->RegisterType("testType1");
l->RegisterType("testType2");
l->RegisterType("testType3");
l->RegisterType("testType1"_cnc);
l->RegisterType("testType2"_cnc);
l->RegisterType("testType3"_cnc);
return l;
}