Converted first thing to shared pointers.
This commit is contained in:
1 parent
7543d13e0e
commit
b1088eeab7
17 files changed
+37
-67
No files matched your search
@@ -18,7 +18,9 @@ namespace Dawn {
|
||||
* @param man Asset Manasger for getting required assets from.
|
||||
* @return List of required assets this prefab.
|
||||
*/
|
||||
static std::vector<Asset*> getRequiredAssets(AssetManager *man) {
|
||||
static std::vector<std::shared_ptr<Asset>>
|
||||
getRequiredAssets(AssetManager *man)
|
||||
{
|
||||
return P::prefabAssets(man);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user