From: cantor Date: Tue, 14 Sep 2010 02:03:47 +0000 (+0000) Subject: Add const cast for older xmlsec. X-Git-Tag: 2.4.1~50 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=f448e3ace524f43deccd2ad8f77b653fd852bd77;hp=095d3e7f38541ba84c24551749c134d36a249dbc;p=shibboleth%2Fopensaml2.git Add const cast for older xmlsec. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/branches/REL_2@577 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/signature/ContentReference.cpp b/saml/signature/ContentReference.cpp index 127dbbd..a40fbc6 100644 --- a/saml/signature/ContentReference.cpp +++ b/saml/signature/ContentReference.cpp @@ -96,7 +96,7 @@ void ContentReference::createReferences(DSIGSignature* sig) } if (!prefixes.empty()) { prefixes.erase(prefixes.begin() + prefixes.size() - 1); - c14n->setInclusiveNamespaces(prefixes.c_str()); + c14n->setInclusiveNamespaces(const_cast(prefixes.c_str())); } } }