[cpp-sp] branch master updated: Remove extraneous new operator from throw.

Scott Cantor cantor.2 at osu.edu
Thu Jul 19 09:36:59 EDT 2018


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  504e77a   Remove extraneous new operator from throw.
504e77a is described below

commit 504e77af7e080ac2d9ad18c0be746ccdc8d7c18e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jul 19 09:36:50 2018 -0400

    Remove extraneous new operator from throw.
---
 shibsp/impl/XMLServiceProvider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/impl/XMLServiceProvider.cpp b/shibsp/impl/XMLServiceProvider.cpp
index 2466ae9..718dbe4 100644
--- a/shibsp/impl/XMLServiceProvider.cpp
+++ b/shibsp/impl/XMLServiceProvider.cpp
@@ -833,7 +833,7 @@ void XMLConfig::regListener(const char* address, Remoted* listener)
         }
         else {
             // This should never happen...?
-            throw new ConfigurationException("Attempted to register more than two endpoints for a single listener address.");
+            throw ConfigurationException("Attempted to register more than two endpoints for a single listener address.");
         }
     }
     else {

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


More information about the commits mailing list