BufferManager: registering buffers are front inserted

This commit is contained in:
Maxime Coste 2012-12-28 13:50:02 +01:00
parent 030df1c4be
commit 8f5be9bf91

View File

@ -26,7 +26,7 @@ void BufferManager::register_buffer(Buffer& buffer)
throw name_not_unique();
}
m_buffers.push_back(safe_ptr<Buffer>(&buffer));
m_buffers.emplace(m_buffers.begin(), &buffer);
}
void BufferManager::unregister_buffer(Buffer& buffer)