X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f3320bf3ddc8b06e9b291105948b0f97a6408a2..cba4e486a4f8ab05674bac6ed8c6bfa58ab25131:/include/wx/msw/private/comptr.h diff --git a/include/wx/msw/private/comptr.h b/include/wx/msw/private/comptr.h index 286fcdefc0..b0eb4f9506 100644 --- a/include/wx/msw/private/comptr.h +++ b/include/wx/msw/private/comptr.h @@ -113,7 +113,7 @@ private: // Define a helper for the macro below: we just need a function taking a // pointer and not returning anything to avoid warnings about unused return // value of the cast in the macro itself. -namespace wxPrivate { void PPV_ARGS_CHECK(void*) { } } +namespace wxPrivate { inline void PPV_ARGS_CHECK(void*) { } } // Takes the interface name and a pointer to a pointer of the interface type // and expands into the IID of this interface and the same pointer but after a