diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-12-18 17:55:53 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:48:04 +0300 |
commit | 6134ebd750f497b5223cfb82bd0277126997955f (patch) | |
tree | 855f7805c416f4c34668c93c3619474649d638fd /graphics/skin_loader.hpp | |
parent | c44578fca5db273e8b01e6bbc43dde188220337a (diff) |
fixes according to code review.
Diffstat (limited to 'graphics/skin_loader.hpp')
-rw-r--r-- | graphics/skin_loader.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/skin_loader.hpp b/graphics/skin_loader.hpp index b51b2aec0a..a594592256 100644 --- a/graphics/skin_loader.hpp +++ b/graphics/skin_loader.hpp @@ -61,7 +61,7 @@ namespace graphics /// skin-specific parameters - vector<shared_ptr<ResourceCache> > m_caches; + vector<shared_ptr<ResourceCache> > & m_caches; /// skin-page specific parameters string m_fileName; @@ -74,7 +74,8 @@ namespace graphics public: - SkinLoader(shared_ptr<ResourceManager> const & resourceManager); + SkinLoader(shared_ptr<ResourceManager> const & resourceManager, + vector<shared_ptr<ResourceCache> > & caches); bool Push(string const & element); void Pop(string const & element); |