Fix FTBFS with clang

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f50771a04c)
r14.0.x
Slávek Banko 10 years ago
parent 9a11446058
commit 0c8225635c

@ -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