Added reasons to assertions
This commit is contained in:
1 parent
1b0218c9f3
commit
a5b36fb24a
79 files changed
+359
-291
No files matched your search
@@ -57,7 +57,7 @@ struct Locale LocaleManager::getLocale() {
|
||||
}
|
||||
|
||||
std::string LocaleManager::getString(std::string key) {
|
||||
assertNotNull(this->currentlyLoadedAsset);
|
||||
assertNotNull(this->currentlyLoadedAsset, "LocaleManager::getString: Currently loaded asset cannot be null");
|
||||
return this->currentlyLoadedAsset->getValue(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user