Re: oleaut32: Constify some variables
July 2, 2007
4:49 p.m.
Andrew Talbot wrote:
-static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc); +static OLEFontImpl* OLEFontImpl_Construct(const FONTDESC *fontDesc); static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc); static ULONG WINAPI OLEFontImpl_AddRef(IFont* iface);
Even if the compiler allows this, it does not make sense. Why would a constructor not want to modify the object it is constructing? -- Rob Shearman
6841
Age (days ago)
6841
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman