diff options
Diffstat (limited to 'graphics/tulip/files/patch-RandomSimpleGraph.cpp')
-rw-r--r-- | graphics/tulip/files/patch-RandomSimpleGraph.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/tulip/files/patch-RandomSimpleGraph.cpp b/graphics/tulip/files/patch-RandomSimpleGraph.cpp index 273b84878b48..f26b52495d24 100644 --- a/graphics/tulip/files/patch-RandomSimpleGraph.cpp +++ b/graphics/tulip/files/patch-RandomSimpleGraph.cpp @@ -4,4 +4,13 @@ +#include <sys/types.h> #include <sys/timeb.h> #include<qinputdialog.h> - #include "TulipPlugin.h" + #include <tulip/TulipPlugin.h> +@@ -9,7 +10,7 @@ + }; + + namespace std { +- struct less<edgeS> { ++ template <> struct less<edgeS> { + bool operator()(const edgeS &c,const edgeS &d) const { + int cs,ct,ds,dt; + if (c.source<=c.target) { |