g++ 4.4 has no string::front

This commit is contained in:
Peter Dimov
2021-10-05 15:38:33 +03:00
parent bb0c6381f6
commit 1fd2cadddd

View File

@ -373,7 +373,7 @@ template<class R, class... A> std::string function_type_name( tn_identity<R(A...
{
r += '(';
if( suffix.front() == ' ' )
if( suffix[ 0 ] == ' ' )
{
r += suffix.substr( 1 );
}