22 #ifndef GUI_WIDGETS_TABS_SOCIALFRIENDSFUNCTOR_H
23 #define GUI_WIDGETS_TABS_SOCIALFRIENDSFUNCTOR_H
36 bool operator() (const
Avatar *const m1,
37 const
Avatar *const m2)
const
39 if ((m1 ==
nullptr) || (m2 ==
nullptr))
42 if (m1->getOnline() != m2->getOnline())
44 return static_cast<int>(m1->getOnline()) >
45 static_cast<int>(m2->getOnline());
48 if (m1->getName() != m2->getName())
50 std::string s1 = m1->getName();
51 std::string s2 = m2->getName();
#define A_DEFAULT_COPY(func)
std::string toLower(std::string const &s)