Fix FTBFS with clang

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent 77c6837fd8
commit f50771a04c

@ -79,14 +79,18 @@ ManipulationCommandSignalEmitter* ManipulationCommand::mcse()
// == ChangedNodeSet ================================================
namespace domtreeviewer {
// collection of nodes for which to emit the nodeChanged signal
namespace DOM {
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
{
return (long)n1.handle() - (long)n2.handle() < 0;
}
}
namespace domtreeviewer {
// collection of nodes for which to emit the nodeChanged signal
class ChangedNodeSet : public TQMap<DOM::Node, bool>
{
};

Loading…
Cancel
Save