From 141725d681dd69f77e993c3d59d613d1ad7014f9 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 12 Jul 2014 09:51:09 +0200 Subject: Marked constructDocument member methods as const * they don't modifiy the class state so there is no reason for them not being marked as const ** all calling methods are also const ** this enables us to remove the const_cast in FunctionBase * modified external function implementations accordingly * inlined handleError method in FunctionTransform as it is not needed in multiple places anymore --- src/function/transform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/function/transform.h') diff --git a/src/function/transform.h b/src/function/transform.h index 95acba3..48f5c89 100644 --- a/src/function/transform.h +++ b/src/function/transform.h @@ -21,7 +21,7 @@ class FunctionTransform : public FunctionBase< DomDocumentCache::document_ptr constructDocument( xalan::XSLTInputSource, xalan::XSLTInputSource - ); + ) const; }; -- cgit v1.2.3