HomeWildfire Games

Use NONCOPYABLE for most GUI classes and structs to have the compiler indicate…

Description

Use NONCOPYABLE for most GUI classes and structs to have the compiler indicate unintended copies, refs rP22637 / D2163.

That is CChartData, CGUIList, CGUISeries, COListColumn, GUITooltip, SGUIMessage, SSpriteCall, STextCall, SFeedback, IGUISetting, CGUISetting, GUI, IGUIObject, IGUIScrollBar.
Drop copying GetSetting and SetSetting template functions for CGUIList, CGUISeries, CClientArea, CGUIString.
Stop copying COListColumn.
Drop copying GUI<CClientArea>::GetSetting call in IGUIObject::UpdateCachedSize() and four copying GUI<CGUIString>::GetSetting calls in SetupText() functions.
Delete unused GUIRenderer IGLState class from rP1536 obsolete since rP11039.

Differential Revision: https://code.wildfiregames.com/D2164

Event Timeline

We usually put NONCOPYABLE in a private section.

We usually put NONCOPYABLE in a private section.

Firstly the visibility doesn't change anything, because it deletes copy constructor and copy assignment.

I already told you on IRC why I put it where I put it. I grouped it with MOVABLE and MOVABLE must be public.