Convert from NULL macro to nullptr.
[shibboleth/cpp-xmltooling.git] / xmltooling / signature / SignatureValidator.h
index e948e40..b275c28 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2009 Internet2
+ *  Copyright 2001-2010 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 /**
  * @file xmltooling/signature/SignatureValidator.h
  * 
- * Validator for signatures based on an externally-supplied key 
+ * Validator for signatures based on an externally-supplied key.
  */
 
 #if !defined(__xmltooling_sigval_h__) && !defined(XMLTOOLING_NO_XMLSEC)
@@ -46,7 +46,7 @@ namespace xmlsignature {
          * 
          * @param key the key to use
          */
-        SignatureValidator(XSECCryptoKey* key=NULL);
+        SignatureValidator(XSECCryptoKey* key=nullptr);
 
         /**
          * Constructor using a Credential
@@ -55,7 +55,7 @@ namespace xmlsignature {
          */
         SignatureValidator(const xmltooling::Credential* credential);
 
-        virtual ~SignatureValidator() {}
+        virtual ~SignatureValidator();
 
         void validate(const xmltooling::XMLObject* xmlObject) const;