Re: oleaut32: Constify some variables
2 Jul
2007
2 Jul
'07
10: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
6828
Age (days ago)
6828
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman