MCPcopy Create free account
hub / github.com/MyGUI/mygui / setMax

Function setMax

MyGUIEngine/src/MyGUI_TextView.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23 template<typename T>
24 void setMax(T& _var, const T& _newValue)
25 {
26 if (_var < _newValue)
27 _var = _newValue;
28 }
29
30 }
31

Callers 1

updateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected