From: Scott Cantor Date: Wed, 13 Aug 2008 15:59:28 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/CPPOST-16 X-Git-Tag: 2.2.0~56 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=c757d93dce5a8b4ae02ea42671823ae09dce5068 https://issues.shibboleth.net/jira/browse/CPPOST-16 --- diff --git a/saml/saml1/core/Assertions.h b/saml/saml1/core/Assertions.h index 5a4ef8d..dc7c6c3 100644 --- a/saml/saml1/core/Assertions.h +++ b/saml/saml1/core/Assertions.h @@ -280,7 +280,7 @@ namespace opensaml { #ifdef HAVE_COVARIANT_RETURNS return b->buildObject(samlconstants::SAML1_NS, Condition::LOCAL_NAME, samlconstants::SAML1_PREFIX, &schemaType); #else - return dynamic_cast(b->buildObject(samlconstants::SAML1_NS, Condition::LOCAL_NAME, samlconstants::SAML1_PREFIX, &schemaType)); + return dynamic_cast(b->buildObject(samlconstants::SAML1_NS, Condition::LOCAL_NAME, samlconstants::SAML1_PREFIX, &schemaType)); #endif } throw xmltooling::XMLObjectException("Unable to obtain typed builder for Condition."); diff --git a/saml/saml2/core/Assertions.h b/saml/saml2/core/Assertions.h index fb5c7d0..c72ebde 100644 --- a/saml/saml2/core/Assertions.h +++ b/saml/saml2/core/Assertions.h @@ -477,7 +477,7 @@ namespace opensaml { #ifdef HAVE_COVARIANT_RETURNS return b->buildObject(samlconstants::SAML20_NS, Condition::LOCAL_NAME, samlconstants::SAML20_PREFIX, &schemaType); #else - return dynamic_cast(b->buildObject(samlconstants::SAML20_NS, Condition::LOCAL_NAME, samlconstants::SAML20_PREFIX, &schemaType)); + return dynamic_cast(b->buildObject(samlconstants::SAML20_NS, Condition::LOCAL_NAME, samlconstants::SAML20_PREFIX, &schemaType)); #endif } throw xmltooling::XMLObjectException("Unable to obtain typed builder for Condition.");