Skip to content

Commit

Permalink
libdeng2|Asset: Added missing member
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 18, 2013
1 parent e2b5dc6 commit bae3170
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libdeng2/include/de/core/asset.h
Expand Up @@ -116,7 +116,7 @@ class DENG2_PUBLIC AssetGroup : public Asset,

void remove(Asset const &asset);

Dependencies const &all() const;
Members const &all() const;

// Observes contained Assets.
void assetDeleted(Asset &);
Expand Down
5 changes: 5 additions & 0 deletions doomsday/libdeng2/src/core/asset.cpp
Expand Up @@ -138,6 +138,11 @@ void AssetGroup::setPolicy(Asset const &asset, Policy policy)
d->update(*this);
}

AssetGroup::Members const &AssetGroup::all() const
{
return d->deps;
}

void AssetGroup::assetDeleted(Asset &asset)
{
remove(asset);
Expand Down

0 comments on commit bae3170

Please sign in to comment.