From: cantor Date: Fri, 7 Dec 2007 01:10:31 +0000 (+0000) Subject: Fix bad STL branch. X-Git-Tag: 2.4.1~269 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=b420fd8237f2f3383c37febd74639532c86ee67f Fix bad STL branch. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@352 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/saml2/metadata/impl/MetadataImpl.cpp b/saml/saml2/metadata/impl/MetadataImpl.cpp index 51facf4..c7088ea 100644 --- a/saml/saml2/metadata/impl/MetadataImpl.cpp +++ b/saml/saml2/metadata/impl/MetadataImpl.cpp @@ -1006,10 +1006,11 @@ namespace opensaml { setProtocolSupportEnumeration(pse.c_str()); #else auto_ptr_char temp(m_ProtocolSupportEnumeration); + auto_ptr_char temp2(protocol); string pse(temp.get()); - pse = pse + ' ' + protocol; - auto_ptr_XMLCh temp2(pse.c_str()); - setProtocolSupportEnumeration(temp2.get()); + pse = pse + ' ' + temp2.get(); + auto_ptr_XMLCh temp3(pse.c_str()); + setProtocolSupportEnumeration(temp3.get()); #endif } else {