From b420fd8237f2f3383c37febd74639532c86ee67f Mon Sep 17 00:00:00 2001 From: cantor Date: Fri, 7 Dec 2007 01:10:31 +0000 Subject: [PATCH] Fix bad STL branch. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@352 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- saml/saml2/metadata/impl/MetadataImpl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 { -- 2.1.4