From 98fc04401150ced905fcb36478183215d81b5bc4 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sat, 26 Apr 2014 07:06:06 +0000 Subject: [PATCH] Fixed custom error policy synopsis git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@718 860be788-9bd5-4423-9f1e-828f051e677b --- build/boost/doc/example/customization.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/boost/doc/example/customization.cpp b/build/boost/doc/example/customization.cpp index 7d9e6e0..3baaa1f 100644 --- a/build/boost/doc/example/customization.cpp +++ b/build/boost/doc/example/customization.cpp @@ -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 ) { // ...