Fix init order warning.
authorscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 23 May 2013 23:27:29 +0000 (23:27 +0000)
committerscantor <scantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 23 May 2013 23:27:29 +0000 (23:27 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3856 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/handler/impl/SAML2LogoutInitiator.cpp

index 74874eb..bb5efd1 100644 (file)
@@ -87,6 +87,7 @@ namespace shibsp {
             ) const;
 
         string m_appId;
+        auto_ptr_char m_protocol;
 #ifndef SHIBSP_LITE
         auto_ptr<LogoutRequest> buildRequest(
             const Application& application, const Session& session, const RoleDescriptor& role, const MessageEncoder* encoder=nullptr
@@ -105,7 +106,6 @@ namespace shibsp {
         vector<string> m_bindings;
         map< string,boost::shared_ptr<MessageEncoder> > m_encoders;
 #endif
-        auto_ptr_char m_protocol;
     };
 
 #if defined (_MSC_VER)