X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/09278fdb79b8c8490fe83f9f1331f318ccbec8da..2a45803fc3877afd0ae3ce356dfe216505165882:/include/wx/msw/private/comptr.h diff --git a/include/wx/msw/private/comptr.h b/include/wx/msw/private/comptr.h index 26c21573d1..b0eb4f9506 100644 --- a/include/wx/msw/private/comptr.h +++ b/include/wx/msw/private/comptr.h @@ -3,7 +3,7 @@ // Purpose: Smart pointer for COM interfaces. // Author: PB // Created: 2012-04-16 -// RCS-ID: $Id: $ +// RCS-ID: $Id$ // Copyright: (c) 2012 wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -12,7 +12,7 @@ #define _WX_MSW_PRIVATE_COMPTR_H_ // ---------------------------------------------------------------------------- -// wxCOMPtr: Minimalistic a smart pointer for use with COM interfaces. +// wxCOMPtr: A minimalistic smart pointer for use with COM interfaces. // ---------------------------------------------------------------------------- template @@ -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