[cpp-xmltooling] branch master updated: Missing const.

Scott Cantor cantor.2 at osu.edu
Thu Apr 26 16:38:28 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-xmltooling.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=e2c71b3f54276b9e63ed669ca9d5da5b9b030eca

The following commit(s) were added to refs/heads/master by this push:
       new  e2c71b3   Missing const.
e2c71b3 is described below

commit e2c71b3f54276b9e63ed669ca9d5da5b9b030eca
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Apr 26 16:38:23 2018 -0400

    Missing const.
---
 xmltooling/PluginManager.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmltooling/PluginManager.h b/xmltooling/PluginManager.h
index 2f37c80..a8a9e43 100644
--- a/xmltooling/PluginManager.h
+++ b/xmltooling/PluginManager.h
@@ -92,7 +92,7 @@ namespace xmltooling {
          * @param p     parameters to configure plugin
          * @return      the constructed plugin  
          */
-        T* newPlugin(const Key& type, const Params& p) {
+        T* newPlugin(const Key& type, const Params& p) const {
             typename std::map<Key, typename PluginManager::Factory*>::const_iterator i=m_map.find(type);
             if (i==m_map.end())
                 throw UnknownExtensionException("Unknown plugin type.");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list