]> git.proxmox.com Git - ceph.git/blame - ceph/src/tools/ceph-dencoder/denc_registry.cc
buildsys: switch source download to quincy
[ceph.git] / ceph / src / tools / ceph-dencoder / denc_registry.cc
CommitLineData
9f95a23c
TL
1#include "denc_registry.h"
2
3void DencoderRegistry::add(const char* name, std::unique_ptr<Dencoder>&& denc)
4{
5 dencoders.emplace(name, std::move(denc));
6};
7
8DencoderRegistry& DencoderRegistry::instance()
9{
10 static DencoderRegistry registry;
11 return registry;
12}