Fix to compile as C++17

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2023-11-08 20:26:52 +01:00
parent 8e323efef9
commit 06b656e2ce

View File

@ -184,7 +184,7 @@ namespace winstd
/// ///
/// \return Duplicated object handle /// \return Duplicated object handle
/// ///
handle_type duplicate_internal(_In_ handle_type h) const override T* duplicate_internal(_In_ T* h) const override
{ {
h->AddRef(); h->AddRef();
return h; return h;