Fix incorrect template parameter tolerated by VC2010

This commit is contained in:
Simon Rozman 2018-09-04 12:26:20 +02:00
parent 41f6fc625d
commit a5b7a9c4cc

View File

@ -1,5 +1,5 @@
/* /*
Copyright 2015-2016 Amebis Copyright 2015-2018 Amebis
Copyright 2016 GÉANT Copyright 2016 GÉANT
This file is part of GÉANTLink. This file is part of GÉANTLink.
@ -489,7 +489,7 @@ namespace eap
#pragma pack(1) #pragma pack(1)
template<size_t N> template<size_t N>
struct __declspec(novtable) sanitizing_blob_f<N> struct __declspec(novtable) sanitizing_blob_f
{ {
unsigned char data[N]; ///< BLOB data unsigned char data[N]; ///< BLOB data
@ -613,7 +613,7 @@ namespace eap
}; };
template<size_t N> template<size_t N>
struct __declspec(novtable) sanitizing_blob_zf<N> : sanitizing_blob_f<N> struct __declspec(novtable) sanitizing_blob_zf : sanitizing_blob_f<N>
{ {
/// ///
/// Constructor /// Constructor