From 94056bf7f8fdef32da3cd78eff68d58560b4e6be Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Aug 2016 12:49:23 +0100 Subject: Replace incorrect uses of raw_convert with a new locale_convert. --- src/lib/user_property.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/user_property.h') diff --git a/src/lib/user_property.h b/src/lib/user_property.h index 6e147fd76..8b69b7687 100644 --- a/src/lib/user_property.h +++ b/src/lib/user_property.h @@ -21,7 +21,7 @@ #ifndef DCPOMATIC_USER_PROPERTY_H #define DCPOMATIC_USER_PROPERTY_H -#include +#include "locale_convert.h" class UserProperty { @@ -37,7 +37,7 @@ public: UserProperty (Category category_, std::string key_, T value_, std::string unit_ = "") : category (category_) , key (key_) - , value (dcp::raw_convert (value_)) + , value (locale_convert (value_)) , unit (unit_) {} -- cgit v1.2.3