mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Fix warning in chrono_io
This commit is contained in:
@@ -371,8 +371,10 @@ template <class _CharT, class _Traits, class _Rep, class _Period>
|
|||||||
basic_istream<_CharT, _Traits>&
|
basic_istream<_CharT, _Traits>&
|
||||||
operator>>(basic_istream<_CharT, _Traits>& __is, duration<_Rep, _Period>& __d)
|
operator>>(basic_istream<_CharT, _Traits>& __is, duration<_Rep, _Period>& __d)
|
||||||
{
|
{
|
||||||
typedef basic_string<_CharT> string_type;
|
// These are unused and generate warnings
|
||||||
typedef durationpunct _F;
|
//typedef basic_string<_CharT> string_type;
|
||||||
|
//typedef durationpunct _F;
|
||||||
|
|
||||||
typedef typename __duration_io_intermediate<_Rep>::type _IR;
|
typedef typename __duration_io_intermediate<_Rep>::type _IR;
|
||||||
_IR __r;
|
_IR __r;
|
||||||
// read value into __r
|
// read value into __r
|
||||||
|
|||||||
Reference in New Issue
Block a user