mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
Remove unused typedef in json_spirit
This fixes -Wunused-local-typedef with macOS's clang10.
This commit is contained in:
@@ -34,8 +34,6 @@ namespace json_spirit
|
||||
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';
|
||||
|
||||
Reference in New Issue
Block a user