21 WinStatsMonitor::MenuDef::
22 MenuDef(
int thread_index,
int collector_index,
bool show_level) :
23 _thread_index(thread_index),
24 _collector_index(collector_index),
25 _show_level(show_level)
34 bool WinStatsMonitor::MenuDef::
35 operator < (
const MenuDef &other)
const {
36 if (_thread_index != other._thread_index) {
37 return _thread_index < other._thread_index;
39 if (_collector_index != other._collector_index) {
40 return _collector_index < other._collector_index;
42 return (
int)_show_level < (int)other._show_level;