Fix GCC 5 build after #26331 and cleanup style

Also cleanup after 01a3dd3.
This commit is contained in:
Rémi Verschelde 2019-02-27 08:57:37 +01:00
parent caa42667e8
commit 0ba75c195e
10 changed files with 18 additions and 25 deletions

View file

@ -1389,7 +1389,7 @@ void ResourceFormatSaverTextInstance::_find_resources(const Variant &p_variant,
if (!p_main && (!bundle_resources) && res->get_path().length() && res->get_path().find("::") == -1) {
if (res->get_path() == local_path) {
ERR_PRINTS("Circular reference to resource being saved found: '"+local_path+"' will be null next time it's loaded.");
ERR_PRINTS("Circular reference to resource being saved found: '" + local_path + "' will be null next time it's loaded.");
return;
}
int index = external_resources.size();