Use unique_ptr not auto_ptr debian/0.9.5-2
authorSam Hartman <hartmans@debian.org>
Tue, 23 Aug 2016 02:27:58 +0000 (22:27 -0400)
committerSam Hartman <hartmans@debian.org>
Tue, 23 Aug 2016 02:27:58 +0000 (22:27 -0400)
mech_eap/util_shib.cpp

index 7b62484..f919fc0 100644 (file)
@@ -123,7 +123,7 @@ gss_eap_shib_attr_provider::initWithGssContext(const gss_eap_attr_ctx *manager,
     if (!gss_eap_attr_provider::initWithGssContext(manager, gssCred, gssCtx))
         return false;
 
-    auto_ptr<ShibbolethResolver> resolver(ShibbolethResolver::create());
+    unique_ptr<ShibbolethResolver> resolver(ShibbolethResolver::create());
 
     /*
      * For now, leave ApplicationID defaulted.