eap::peer<> and eap::session<> redundant template argument removed

This commit is contained in:
2016-08-05 13:45:18 +02:00
parent 91dcc0bbbc
commit 437f5f91b8
11 changed files with 23 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ using namespace winstd;
// eap::peer_ttls
//////////////////////////////////////////////////////////////////////
eap::peer_ttls::peer_ttls() : peer<config_method_ttls, credentials_ttls, bool, bool>(eap_type_ttls)
eap::peer_ttls::peer_ttls() : peer<credentials_ttls, bool, bool>(eap_type_ttls)
{
}

View File

@@ -30,21 +30,21 @@ using namespace winstd;
eap::session_ttls::session_ttls(_In_ module *mod) :
m_version(version_0),
session<config_method_ttls, credentials_ttls, bool, bool>(mod)
session<credentials_ttls, bool, bool>(mod)
{
}
eap::session_ttls::session_ttls(_In_ const session_ttls &other) :
m_version(other.m_version),
session<config_method_ttls, credentials_ttls, bool, bool>(other)
session<credentials_ttls, bool, bool>(other)
{
}
eap::session_ttls::session_ttls(_Inout_ session_ttls &&other) :
m_version(std::move(other.m_version)),
session<config_method_ttls, credentials_ttls, bool, bool>(std::move(other))
session<credentials_ttls, bool, bool>(std::move(other))
{
}
@@ -52,7 +52,7 @@ eap::session_ttls::session_ttls(_Inout_ session_ttls &&other) :
eap::session_ttls& eap::session_ttls::operator=(_In_ const session_ttls &other)
{
if (this != &other) {
(session<config_method_ttls, credentials_ttls, bool, bool>&)*this = other;
(session<credentials_ttls, bool, bool>&)*this = other;
m_version = other.m_version;
}
@@ -63,7 +63,7 @@ eap::session_ttls& eap::session_ttls::operator=(_In_ const session_ttls &other)
eap::session_ttls& eap::session_ttls::operator=(_Inout_ session_ttls &&other)
{
if (this != &other) {
(session<config_method_ttls, credentials_ttls, bool, bool>&)*this = std::move(other);
(session<credentials_ttls, bool, bool>&)*this = std::move(other);
m_version = std::move(other.m_version);
}