X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fuser_property.h;h=fb597eeb64ff67dd74e5b2b67658a017572a228d;hb=cfbe9d2f44e380efed7a61b5b5c7a2fec7794915;hp=8b69b7687bf18de3acc570021e788b37280ce30e;hpb=94056bf7f8fdef32da3cd78eff68d58560b4e6be;p=dcpomatic.git diff --git a/src/lib/user_property.h b/src/lib/user_property.h index 8b69b7687..fb597eeb6 100644 --- a/src/lib/user_property.h +++ b/src/lib/user_property.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2016 Carl Hetherington + Copyright (C) 2013-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,10 +18,13 @@ */ + #ifndef DCPOMATIC_USER_PROPERTY_H #define DCPOMATIC_USER_PROPERTY_H -#include "locale_convert.h" + +#include + class UserProperty { @@ -37,7 +40,7 @@ public: UserProperty (Category category_, std::string key_, T value_, std::string unit_ = "") : category (category_) , key (key_) - , value (locale_convert (value_)) + , value (dcp::locale_convert (value_)) , unit (unit_) {} @@ -47,4 +50,5 @@ public: std::string unit; }; + #endif