Switched the emitter state's stack of groups to a ptr_stack

This commit is contained in:
jbeder
2011-03-03 08:11:14 +00:00
parent bbb19cf5c0
commit 06eae35c31
3 changed files with 26 additions and 38 deletions

View File

@@ -35,6 +35,7 @@ public:
return t;
}
T& top() { return *m_data.back(); }
const T& top() const { return *m_data.back(); }
private:
std::vector<T*> m_data;