Apply suggestions from code review

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
This commit is contained in:
David Benepe
2022-04-10 20:51:24 -05:00
committed by GitHub
co-authored by AntonioCastelli
parent ad9842a993
commit 25b77e53af
4 changed files with 21 additions and 21 deletions
@@ -152,7 +152,7 @@ std::mutex enumsMutex;
void make_sure_enums_are_loaded() {
enumsMutex.lock();
if(!hasLoadedEnums) {
if(ENUMS_CACHE_PATH == "") {
if(ENUMS_CACHE_PATH.empty()) {
set_enums_cache_path();
}
load_enums_cache();