mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
eecd48b72f
commit
98fc044011
1 changed files with 1 additions and 2 deletions
|
|
@ -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 )
|
||||
{
|
||||
// ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue