diff options
| -rw-r--r-- | src/lib/user_property.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/user_property.h b/src/lib/user_property.h index 14b30c2ff..3ec2f355f 100644 --- a/src/lib/user_property.h +++ b/src/lib/user_property.h @@ -37,14 +37,16 @@ public: }; template <class T> - UserProperty(Category category_, std::string key_, T value_, std::string unit_ = "") + UserProperty(Category category_, std::string key_, T value_, std::string unit_ = "", boost::optional<std::string> sub_heading_ = boost::none) : category(category_) + , sub_heading(sub_heading_) , key(key_) , value(dcp::locale_convert<std::string>(value_)) , unit(unit_) {} Category category; + boost::optional<std::string> sub_heading; std::string key; std::string value; std::string unit; |
