From edc60e2e011b4a117c059349f3a69877e0206c8a Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 7 Jan 2014 21:13:14 -0800 Subject: [PATCH] Fix warning in chrono_io --- beast/chrono/chrono_io.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beast/chrono/chrono_io.h b/beast/chrono/chrono_io.h index fdcf475550..bfbcd92cc0 100644 --- a/beast/chrono/chrono_io.h +++ b/beast/chrono/chrono_io.h @@ -371,8 +371,10 @@ template basic_istream<_CharT, _Traits>& operator>>(basic_istream<_CharT, _Traits>& __is, duration<_Rep, _Period>& __d) { - typedef basic_string<_CharT> string_type; - typedef durationpunct _F; + // These are unused and generate warnings + //typedef basic_string<_CharT> string_type; + //typedef durationpunct _F; + typedef typename __duration_io_intermediate<_Rep>::type _IR; _IR __r; // read value into __r