X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fdcp_time.cc;h=d597e3dc203e765e10e2d20ec9331a7e0de637f1;hb=4de8f0118e1baf31cf4c859881dfbf39014b566f;hp=14155fdb01929fa352424cfc81a2855107916b1b;hpb=3390da35584709ea0626ec1fefd3bf5d797bcc00;p=libdcp.git diff --git a/src/dcp_time.cc b/src/dcp_time.cc index 14155fdb..d597e3dc 100644 --- a/src/dcp_time.cc +++ b/src/dcp_time.cc @@ -24,10 +24,10 @@ #include #include #include -#include #include #include "dcp_time.h" #include "exceptions.h" +#include "raw_convert.h" using namespace std; using namespace boost; @@ -78,10 +78,10 @@ Time::Time (string time) boost::throw_exception (DCPReadError ("unrecognised time specification")); } - h = lexical_cast (b[0]); - m = lexical_cast (b[1]); - s = lexical_cast (b[2]); - t = lexical_cast (b[3]); + h = raw_convert (b[0]); + m = raw_convert (b[1]); + s = raw_convert (b[2]); + t = raw_convert (b[3]); } bool