Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Create Implementation Bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwc
Tomato Guru

138 Posts

Posted - Jun 02 2015 :  3:24:55 PM  Show Profile  Reply with Quote
Create implementation missing the const specifier:



class Blah
{
    STDMETHOD(GetSwapCount)(int* swap_count) const;
};

Create imp yields:

STDMETHODIMP Blah::GetSwapCount(int* swap_count) //<----- missing const
{
    return S_OK;
}



Thanks,
Paul

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jun 03 2015 :  5:08:05 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clean description.

case=90095
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000