Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Remove unused typedef.
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Jun 8, 2015
1 parent 4205cf7 commit eb75d80
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions json_spirit/json_spirit_writer_template.h
Expand Up @@ -25,13 +25,9 @@ namespace json_spirit
return 'A' - 10 + ch;
}

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-local-typedefs")
template< class String_type >
String_type non_printable_to_string( unsigned int c )
{
typedef typename String_type::value_type Char_type;

String_type result( 6, '\\' );

result[1] = 'u';
Expand All @@ -43,7 +39,6 @@ namespace json_spirit

return result;
}
#pragma GCC diagnostic pop

template< typename Char_type, class String_type >
bool add_esc_char( Char_type c, String_type& s )
Expand Down

0 comments on commit eb75d80

Please sign in to comment.