Solaris fix.
authorScott Cantor <cantor.2@osu.edu>
Mon, 15 Jun 2009 17:15:48 +0000 (17:15 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 15 Jun 2009 17:15:48 +0000 (17:15 +0000)
shibsp/attribute/DOMAttributeDecoder.cpp

index 1549690..e7a9591 100644 (file)
@@ -76,8 +76,9 @@ DOMAttributeDecoder::DOMAttributeDecoder(const DOMElement* e)
                     log.debug("mapping (%s) to (%s)", f->toString().c_str(), t.get());\r
                 m_tagMap.insert(\r
                     make_pair(\r
-                        pair<xstring,xstring>(f->getLocalPart(), f->hasNamespaceURI() ? f->getNamespaceURI() : &chNull),\r
-                        t.get())\r
+                        pair<const xstring,xstring>(f->getLocalPart(), f->hasNamespaceURI() ? f->getNamespaceURI() : &chNull),\r
+                        t.get()\r
+                        )\r
                     );\r
             }\r
         }\r