Replace incorrect uses of raw_convert with a new locale_convert.
[dcpomatic.git] / src / lib / user_property.h
index 6e147fd768ebf067776eb3130d127be85ac8e47e..8b69b7687bf18de3acc570021e788b37280ce30e 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef DCPOMATIC_USER_PROPERTY_H
 #define DCPOMATIC_USER_PROPERTY_H
 
-#include <dcp/raw_convert.h>
+#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<std::string> (value_))
+               , value (locale_convert<std::string> (value_))
                , unit (unit_)
        {}