Branch: master

f50771a0 2015-06-28 06:12:17 Slávek Banko
Fix FTBFS with clang

Signed-off-by: Slávek Banko <slavek.banko@...>
M konq-plugins/domtreeviewer/domtreecommands.cpp
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 @@
 
 // == 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>
 {
 };