summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-28 13:12:17 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-28 13:12:39 +0200
commit0c8225635ce36492343c2a1d1b53b13a3f1bb199 (patch)
tree747ac54683265d13f6fba59e39772ca94e0aa6a1 /konq-plugins
parent9a114460586b9603c9f6bb53e051076749d5bbb7 (diff)
downloadtdeaddons-0c8225635ce36492343c2a1d1b53b13a3f1bb199.tar.gz
tdeaddons-0c8225635ce36492343c2a1d1b53b13a3f1bb199.zip
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f50771a04cee9a25d1701e95be99cc7e9f0f74ee)
Diffstat (limited to 'konq-plugins')
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.cpp10
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>
{
};