Tighten a parameter for Solaris.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 15 Jun 2009 15:42:48 +0000 (15:42 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 15 Jun 2009 15:42:48 +0000 (15:42 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@595 de75baf8-a10c-0410-a50a-987c0e22f00f

xmltooling/util/TemplateEngine.cpp
xmltooling/util/TemplateEngine.h

index 4a165d5..f9c1f32 100644 (file)
@@ -98,7 +98,7 @@ void TemplateEngine::process(
     const char*& lastpos,
     ostream& os,
     const TemplateParameters& parameters,
-    const std::pair<std::string,std::string>& loopentry,
+    const std::pair<const std::string,std::string>& loopentry,
     const XMLToolingException* e
     ) const
 {
index eba0689..2349b1e 100644 (file)
@@ -141,7 +141,7 @@ namespace xmltooling {
             const char*& lastpos,
             std::ostream& os,
             const TemplateParameters& parameters,
-            const std::pair<std::string,std::string>& loopentry,
+            const std::pair<const std::string,std::string>& loopentry,
             const XMLToolingException* e
             ) const;