]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/Scheme.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / auth / Scheme.cc
index 04075355a84950be66646651599387f439d6bded..c78b26bf6e3ba4de03373d03ff1ab7e1825b2d82 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -9,12 +9,12 @@
 /* DEBUG: section 29    Authenticator */
 
 #include "squid.h"
-#include "auth/Config.h"
 #include "auth/Gadgets.h"
 #include "auth/Scheme.h"
+#include "auth/SchemeConfig.h"
 #include "globals.h"
 
-std::vector<Auth::Scheme::Pointer> *Auth::Scheme::_Schemes = NULL;
+std::vector<Auth::Scheme::Pointer> *Auth::Scheme::_Schemes = nullptr;
 
 void
 Auth::Scheme::AddScheme(Auth::Scheme::Pointer instance)
@@ -37,7 +37,7 @@ Auth::Scheme::Find(const char *typestr)
             return *i;
     }
 
-    return Auth::Scheme::Pointer(NULL);
+    return Auth::Scheme::Pointer(nullptr);
 }
 
 std::vector<Auth::Scheme::Pointer> &
@@ -67,3 +67,4 @@ Auth::Scheme::FreeAll()
         scheme->shutdownCleanup();
     }
 }
+