mirror of
https://github.com/boostorg/describe.git
synced 2026-01-19 04:12:07 +00:00
Merge pull request #44 from denzor200/actualize_fmt
Actualize examples to build with latest `fmt`
This commit is contained in:
@@ -18,7 +18,7 @@ template<class T> struct fmt::formatter<T, char, std::enable_if_t<
|
||||
|
||||
if( it != end && *it != '}' )
|
||||
{
|
||||
ctx.error_handler().on_error( "invalid format" );
|
||||
throw_format_error( "invalid format" );
|
||||
}
|
||||
|
||||
return it;
|
||||
|
||||
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
if( i1 != i2 )
|
||||
{
|
||||
ctx.error_handler().on_error( "invalid format" );
|
||||
throw_format_error( "invalid format" );
|
||||
}
|
||||
|
||||
return i1;
|
||||
|
||||
Reference in New Issue
Block a user