diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-06-28 13:12:17 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-06-28 13:12:17 +0200 |
commit | f50771a04cee9a25d1701e95be99cc7e9f0f74ee (patch) | |
tree | a96d28bac2e7a54ddc7b73bbd23a79d7c6e20499 /konq-plugins/domtreeviewer | |
parent | 77c6837fd8ba62f4b5c1630bc0371912ab504584 (diff) | |
download | tdeaddons-f50771a04cee9a25d1701e95be99cc7e9f0f74ee.tar.gz tdeaddons-f50771a04cee9a25d1701e95be99cc7e9f0f74ee.zip |
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'konq-plugins/domtreeviewer')
-rw-r--r-- | konq-plugins/domtreeviewer/domtreecommands.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.cpp b/konq-plugins/domtreeviewer/domtreecommands.cpp index 68aab4a..0ee3d33 100644 --- a/konq-plugins/domtreeviewer/domtreecommands.cpp +++ b/konq-plugins/domtreeviewer/domtreecommands.cpp @@ -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> { }; |