32
34
void CategoryRegistry::register_category(Category::SCPtr category)
34
36
std::lock_guard<decltype(mutex_)> lock(mutex_);
38
auto it = find_if(categories_.begin(), categories_.end(), [id](const CatPair& p) { return p.first == id; });
44
46
Category::SCPtr CategoryRegistry::register_category(VariantMap const& variant_map)