summaryrefslogtreecommitdiffstats
path: root/src/mon/ConfigMap.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:44 +0000
commit17d6a993fc17d533460c5f40f3908c708e057c18 (patch)
tree1a3bd93e0ecd74fa02f93a528fe2f87e5314c4b5 /src/mon/ConfigMap.h
parentReleasing progress-linux version 18.2.2-0progress7.99u1. (diff)
downloadceph-17d6a993fc17d533460c5f40f3908c708e057c18.tar.xz
ceph-17d6a993fc17d533460c5f40f3908c708e057c18.zip
Merging upstream version 18.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/mon/ConfigMap.h')
-rw-r--r--src/mon/ConfigMap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mon/ConfigMap.h b/src/mon/ConfigMap.h
index a21e77265..34af942a6 100644
--- a/src/mon/ConfigMap.h
+++ b/src/mon/ConfigMap.h
@@ -63,6 +63,7 @@ struct MaskedOption {
const Option *opt; ///< the option
OptionMask mask;
std::unique_ptr<const Option> unknown_opt; ///< if fabricated for an unknown option
+ std::string localized_name; ///< localized name for the option
MaskedOption(const Option *o, bool fab=false) : opt(o) {
if (fab) {
@@ -74,6 +75,7 @@ struct MaskedOption {
opt = o.opt;
mask = std::move(o.mask);
unknown_opt = std::move(o.unknown_opt);
+ localized_name = std::move(o.localized_name);
}
const MaskedOption& operator=(const MaskedOption& o) = delete;
const MaskedOption& operator=(MaskedOption&& o) = delete;