![]() |
CXTPLogFont |
Post Reply ![]() |
Author | |
astoyan ![]() Admin Group ![]() ![]() Joined: 24 August 2013 Status: Offline Points: 273 |
![]() ![]() ![]() ![]() ![]() Posted: 16 January 2023 at 10:40am |
Thanks for bringing this to our attention. We've reviewed and improved implementation of CXTPLogFont so it follows C++ best practices now, it'll be released in the next update. In the meantime you can safely add 'const' to both the constructor and overloaded assignment operator declaration and definition if it is required for your use case.
Regards, Alexander
|
|
![]() |
|
gpm1 ![]() Groupie ![]() ![]() Joined: 06 June 2006 Status: Offline Points: 54 |
![]() ![]() ![]() ![]() ![]() |
For what purpose does the copy constructor and assignment operator have "LOGFONT& logfont" instead of using it as const? Codejock 20.3.0 VS2022
|
|
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit) Language: Visual C++ 2008/2013/2015/2019/2022 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |