Cleanup: remove 'this' keyword where guidelines don't ask for it
4cc1c65272 made this a protected member, so following the C++ style guidelines, this doesn't have to use `this` for accessing.
This commit is contained in:
parent
5bc9434893
commit
9178ff244f
@ -191,7 +191,7 @@ void AssetLibrary::load_catalogs()
|
|||||||
{
|
{
|
||||||
auto catalog_service = std::make_unique<AssetCatalogService>(root_path());
|
auto catalog_service = std::make_unique<AssetCatalogService>(root_path());
|
||||||
catalog_service->load_from_disk();
|
catalog_service->load_from_disk();
|
||||||
this->catalog_service_ = std::move(catalog_service);
|
catalog_service_ = std::move(catalog_service);
|
||||||
}
|
}
|
||||||
|
|
||||||
AssetCatalogService &AssetLibrary::catalog_service() const
|
AssetCatalogService &AssetLibrary::catalog_service() const
|
||||||
|
@ -58,7 +58,7 @@ void AllAssetLibrary::rebuild_catalogs_from_nested(const bool reload_nested_cata
|
|||||||
},
|
},
|
||||||
false);
|
false);
|
||||||
|
|
||||||
this->catalog_service_ = std::move(new_catalog_service);
|
catalog_service_ = std::move(new_catalog_service);
|
||||||
catalogs_dirty_ = false;
|
catalogs_dirty_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user