Skip to content

Commit

Permalink
Use a ConstPtr for the PtrAnimationMap
Browse files Browse the repository at this point in the history
  • Loading branch information
scrawl committed Dec 18, 2015
1 parent 553132c commit 7a4aac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwrender/objects.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class PtrHolder : public osg::Object
};

class Objects{
typedef std::map<MWWorld::Ptr,Animation*> PtrAnimationMap;
typedef std::map<MWWorld::ConstPtr,Animation*> PtrAnimationMap;

typedef std::map<const MWWorld::CellStore*, osg::ref_ptr<osg::Group> > CellMap;
CellMap mCellSceneNodes;
Expand Down

0 comments on commit 7a4aac1

Please sign in to comment.