Incorrect handle type fixed

This commit is contained in:
Simon Rozman 2016-08-28 12:21:20 +02:00
parent 276546ee18
commit 88a8b7d093

View File

@ -343,7 +343,7 @@ namespace winstd
/// ///
/// Initializes a new class instance with the object handle set to NULL. /// Initializes a new class instance with the object handle set to NULL.
/// ///
inline win_handle() : handle<HCERTSTORE>() {} inline win_handle() : handle<HANDLE>() {}
/// ///
/// Initializes a new class instance with an already available object handle. /// Initializes a new class instance with an already available object handle.
@ -357,7 +357,7 @@ namespace winstd
/// ///
/// \param[inout] h A rvalue reference of another object /// \param[inout] h A rvalue reference of another object
/// ///
inline win_handle(_Inout_ win_handle &&h) : handle<HCERTSTORE>(std::move(h)) {} inline win_handle(_Inout_ win_handle &&h) : handle<HANDLE>(std::move(h)) {}
/// ///
/// Closes an open object handle. /// Closes an open object handle.