* Getter instead of using name[] to be const safe */
| 63 | * Getter instead of using name[] to be const safe |
| 64 | */ |
| 65 | std::string get_name(uint64_t const f) const { |
| 66 | std::map<uint64_t, std::string>::const_iterator i = names.find(f); |
| 67 | ceph_assert(i != names.end()); |
| 68 | return i->second; |
| 69 | } |
| 70 | |
| 71 | void remove(uint64_t f) { |
| 72 | if (names.count(f)) { |