Cleanup after RYML merge (#6785)

Speeded things up even more by making use of C++'s reference feature.
Fixed #6770 warning while at it.
Added back support for case insensitive booleans.
Fixed a very rare issue with cached databases.
Removed .children() calls
Added back type safety reports
Added ryml to login-server makefile

Thanks to @aleos89, @Atemo and @idk-whoami
This commit is contained in:
Lemongrass3110
2022-04-03 04:02:13 +02:00
committed by GitHub
parent b3343df2ab
commit 01261dbf3d
42 changed files with 350 additions and 334 deletions

View File

@@ -2356,7 +2356,7 @@ const std::string ConstantDatabase::getDefaultLocation(){
return std::string(db_path) + "/const.yml";
}
uint64 ConstantDatabase::parseBodyNode( const ryml::NodeRef node ) {
uint64 ConstantDatabase::parseBodyNode( const ryml::NodeRef& node ) {
std::string constant_name;
if (!this->asString( node, "Name", constant_name ))