From 01fcae6ac8aa886db2efdbd6f61e847da1e6a553 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 3 Aug 2019 10:11:49 -0700 Subject: [PATCH] Make the OptionClassifier members non-const. Constness deletes the default copy assignment operator, making GncOption not copy-assignable. --- libgnucash/app-utils/gnc-option.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libgnucash/app-utils/gnc-option.hpp b/libgnucash/app-utils/gnc-option.hpp index 8f31681105..1a91c6138c 100644 --- a/libgnucash/app-utils/gnc-option.hpp +++ b/libgnucash/app-utils/gnc-option.hpp @@ -83,11 +83,11 @@ protected: struct OptionClassifier { - const std::string m_section; - const std::string m_name; - const std::string m_sort_tag; -// const std::type_info m_kvp_type; - const std::string m_doc_string; + std::string m_section; + std::string m_name; + std::string m_sort_tag; +// std::type_info m_kvp_type; + std::string m_doc_string; }; template