Remove unused typedef in json_spirit
This fixes -Wunused-local-typedef with macOS's clang10.
This commit is contained in:
parent
9f41012b79
commit
d929c54571
@ -34,8 +34,6 @@ namespace json_spirit
|
|||||||
template< class String_type >
|
template< class String_type >
|
||||||
String_type non_printable_to_string( unsigned int c )
|
String_type non_printable_to_string( unsigned int c )
|
||||||
{
|
{
|
||||||
typedef typename String_type::value_type Char_type;
|
|
||||||
|
|
||||||
String_type result( 6, '\\' );
|
String_type result( 6, '\\' );
|
||||||
|
|
||||||
result[1] = 'u';
|
result[1] = 'u';
|
||||||
|
Loading…
Reference in New Issue
Block a user