Fixed custom error policy synopsis

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@718 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2014-04-26 07:06:06 +00:00
parent eecd48b72f
commit 98fc044011

View file

@ -150,7 +150,7 @@ struct custom_policy
// ...
}
template< typename Context >
static void fail( const char* message, const Context&, const char* file = "unknown location", int line = 0 )
static void fail( const char* message, const Context& context, const char* file = "unknown location", int line = 0 )
{
// ...
}
@ -159,7 +159,6 @@ struct custom_policy
{
// ...
}
template< typename Context >
static void pass( const char* file, int line )
{
// ...