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

This commit is contained in:
Jesse Beder
2011-03-03 08:11:14 +00:00
parent 27617ec2be
commit a518d87cfc
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;