SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Rename()

void Spices::TagComponent::Rename ( const std::string & tag)

Rename first element in tags.

Parameters
[in]tagnew name.

Definition at line 56 of file TagComponent.cpp.

57 {
59
60 assert(m_Tags.size() > 0);
61
62 m_Tags.erase(*m_Tags.begin());
63 m_Tags.insert(tag);
64 }
#define SPICES_PROFILE_ZONE
std::set< std::string > m_Tags
The tags this component handled.