From fdc1e5cb73519ce046533756f172a8b6730f0c4b Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 14 Apr 2020 08:51:34 +0200 Subject: [PATCH] Resolve C5205 warning Reference: https://developercommunity.visualstudio.com/content/problem/893960/compiling-atlsecurityh-raises-several-c5205-warnin.html Reference: https://developercommunity.visualstudio.com/idea/937938/msvc-version-1650-preview-20-introduces-a-new-c-wa.html Signed-off-by: Simon Rozman --- lib/EAPBase/include/EAP.h | 7 ++++++- lib/EAPBase/src/EAP.cpp | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/EAPBase/include/EAP.h b/lib/EAPBase/include/EAP.h index c76936c..d0d3468 100644 --- a/lib/EAPBase/include/EAP.h +++ b/lib/EAPBase/include/EAP.h @@ -606,10 +606,15 @@ namespace eap { public: /// - /// Constructs configuration + /// Constructs a configuration /// packable(); + /// + /// Destructs the configuration + /// + virtual ~packable(); + /// \name BLOB management /// @{ diff --git a/lib/EAPBase/src/EAP.cpp b/lib/EAPBase/src/EAP.cpp index cc6f83c..7f1e063 100644 --- a/lib/EAPBase/src/EAP.cpp +++ b/lib/EAPBase/src/EAP.cpp @@ -35,6 +35,11 @@ eap::packable::packable() } +eap::packable::~packable() +{ +} + + void eap::packable::operator<<(_Inout_ cursor_out &cursor) const { UNREFERENCED_PARAMETER(cursor);