Make modules and methods non-copyable & non-movable
Modules and methods are never duplicated or moved in a memory. Moving constructors and operators are dead code. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -41,8 +41,6 @@ namespace eap
|
||||
///
|
||||
class method_pap_diameter : public method
|
||||
{
|
||||
WINSTD_NONCOPYABLE(method_pap_diameter)
|
||||
|
||||
public:
|
||||
///
|
||||
/// Constructs a PAP method
|
||||
@@ -53,22 +51,6 @@ namespace eap
|
||||
///
|
||||
method_pap_diameter(_In_ module &mod, _In_ config_method_pap &cfg, _In_ credentials_pass &cred);
|
||||
|
||||
///
|
||||
/// Moves a PAP method
|
||||
///
|
||||
/// \param[in] other PAP method to move from
|
||||
///
|
||||
method_pap_diameter(_Inout_ method_pap_diameter &&other) noexcept;
|
||||
|
||||
///
|
||||
/// Moves a PAP method
|
||||
///
|
||||
/// \param[in] other PAP method to move from
|
||||
///
|
||||
/// \returns Reference to this object
|
||||
///
|
||||
method_pap_diameter& operator=(_Inout_ method_pap_diameter &&other) noexcept;
|
||||
|
||||
/// \name Session management
|
||||
/// @{
|
||||
|
||||
|
Reference in New Issue
Block a user