Cleanup WINSTD_NOVTABLE/__declspec(novtable)

This was originally intended as a compiler hint.

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2021-11-19 15:02:52 +01:00
parent 82935bd8e0
commit 7188af8e71
3 changed files with 12 additions and 12 deletions

View File

@ -293,7 +293,7 @@ namespace winstd
/// @{ /// @{
template<class _Ty> class sanitizing_allocator; template<class _Ty> class sanitizing_allocator;
template<size_t N> class __declspec(novtable) sanitizing_blob; template<size_t N> class sanitizing_blob;
/// ///
@ -1934,7 +1934,7 @@ namespace winstd
/// Sanitizing BLOB /// Sanitizing BLOB
/// ///
template<size_t N> template<size_t N>
class __declspec(novtable) sanitizing_blob class sanitizing_blob
{ {
public: public:
/// ///

View File

@ -37,10 +37,10 @@ namespace winstd
struct EapHostPeerFreeRuntimeMemory_delete; struct EapHostPeerFreeRuntimeMemory_delete;
struct EapHostPeerFreeErrorMemory_delete; struct EapHostPeerFreeErrorMemory_delete;
struct EapHostPeerFreeEapError_delete; struct EapHostPeerFreeEapError_delete;
class __declspec(novtable) eap_attr; class eap_attr;
class __declspec(novtable) eap_method_prop; class eap_method_prop;
class eap_packet; class eap_packet;
class __declspec(novtable) eap_method_info_array; class eap_method_info_array;
class eap_runtime_error; class eap_runtime_error;
/// \addtogroup WinStdEAPAPI /// \addtogroup WinStdEAPAPI
@ -239,7 +239,7 @@ namespace winstd
/// ///
#pragma warning(push) #pragma warning(push)
#pragma warning(disable: 26432) // Copy constructor and assignment operator are also present, but not detected by code analysis as they are using base type source object reference. #pragma warning(disable: 26432) // Copy constructor and assignment operator are also present, but not detected by code analysis as they are using base type source object reference.
class __declspec(novtable) eap_attr : public EAP_ATTRIBUTE class eap_attr : public EAP_ATTRIBUTE
{ {
public: public:
/// ///
@ -348,7 +348,7 @@ namespace winstd
/// ///
/// EAP_METHOD_PROPERTY wrapper class /// EAP_METHOD_PROPERTY wrapper class
/// ///
class __declspec(novtable) eap_method_prop : public EAP_METHOD_PROPERTY class eap_method_prop : public EAP_METHOD_PROPERTY
{ {
public: public:
/// ///
@ -468,7 +468,7 @@ namespace winstd
/// ///
/// EAP_METHOD_INFO_ARRAY wrapper class /// EAP_METHOD_INFO_ARRAY wrapper class
/// ///
class __declspec(novtable) eap_method_info_array : public EAP_METHOD_INFO_ARRAY class eap_method_info_array : public EAP_METHOD_INFO_ARRAY
{ {
WINSTD_NONCOPYABLE(eap_method_info_array) WINSTD_NONCOPYABLE(eap_method_info_array)

View File

@ -37,8 +37,8 @@
namespace winstd namespace winstd
{ {
class __declspec(novtable) event_data; class event_data;
class __declspec(novtable) event_rec; class event_rec;
class event_provider; class event_provider;
class event_session; class event_session;
class event_trace; class event_trace;
@ -84,7 +84,7 @@ namespace winstd
/// ///
/// EVENT_DATA_DESCRIPTOR wrapper /// EVENT_DATA_DESCRIPTOR wrapper
/// ///
class __declspec(novtable) event_data : public EVENT_DATA_DESCRIPTOR class event_data : public EVENT_DATA_DESCRIPTOR
{ {
public: public:
/// ///
@ -276,7 +276,7 @@ namespace winstd
/// ///
/// EVENT_RECORD wrapper /// EVENT_RECORD wrapper
/// ///
class __declspec(novtable) event_rec : public EVENT_RECORD class event_rec : public EVENT_RECORD
{ {
public: public:
/// ///