From: cantor Date: Wed, 10 May 2006 03:06:19 +0000 (+0000) Subject: Rename static builder methods. X-Git-Tag: 1.4.1~728 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=23b73569b91eae5d7d666f7508b9911ee5f9d799;hp=2f3d822ab71fd08ed5549cc51c3ee3c6614807c2;p=shibboleth%2Fxmltooling.git Rename static builder methods. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@95 de75baf8-a10c-0410-a50a-987c0e22f00f --- diff --git a/xmltooling/base.h b/xmltooling/base.h index 1e949aa..ac6f33a 100644 --- a/xmltooling/base.h +++ b/xmltooling/base.h @@ -779,7 +779,7 @@ #define DECL_XMLOBJECTBUILDER(linkage,cname,namespaceURI,namespacePrefix) \ BEGIN_XMLOBJECTBUILDER(linkage,cname,namespaceURI,namespacePrefix); \ XMLTOOLING_DOXYGEN(Singleton builder.) \ - static cname* new##cname() { \ + static cname* build##cname() { \ const cname##Builder* b = dynamic_cast( \ XMLObjectBuilder::getBuilder(xmltooling::QName(namespaceURI,cname::LOCAL_NAME)) \ ); \ diff --git a/xmltoolingtest/XMLObjectBaseTestCase.h b/xmltoolingtest/XMLObjectBaseTestCase.h index b0088f5..d2d56c0 100644 --- a/xmltoolingtest/XMLObjectBaseTestCase.h +++ b/xmltoolingtest/XMLObjectBaseTestCase.h @@ -37,8 +37,6 @@ using namespace xmltooling; using namespace std; -extern ParserPool* validatingPool; -extern ParserPool* nonvalidatingPool; extern string data_path; #if defined (_MSC_VER)