Commit 7723cfcf authored by Zach Marshall's avatar Zach Marshall Committed by Graeme Stewart
Browse files

Adding Emplace and move semantics (HitManagement-00-01-16)

	* Tagging HitManagement-00-01-16
	* HitManagement/AtlasHitsVector.h: Adding Emplace and move semantics
parent 7ac93034
......@@ -75,6 +75,14 @@ public:
{
m_hitvector.push_back(h);
}
void Insert(const T&& h)
{
m_hitvector.push_back(h);
}
template <class... Args> void Emplace(Args&&... args)
{
m_hitvector.emplace_back(args...);
}
int Size() const
{
return size();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment