fixed bug

This commit is contained in:
manga_osyo 2012-05-22 18:54:46 +09:00
parent 9f061e8882
commit aeeba70cd1

View file

@ -34,7 +34,7 @@ main(){
//
// parse __TIME__
//
constexpr auto expr = w::int_ >> ':' >> w::int_ >> ':' >> w::int_;
constexpr auto parser = w::int_ >> ':' >> w::int_ >> ':' >> w::int_;
static constexpr auto result = w::parse(time.begin(), time.end(), parser);
static_assert(result.success(), "failed parse");