Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Diff of /src/hugin1/hugin/TextureManager.h [79da63] .. [37ffb3] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin1/hugin/TextureManager.h
+++ b/src/hugin1/hugin/TextureManager.h
@@ -40,7 +40,14 @@
 #include <string>
 #include <map>
+#include <boost/version.hpp>
+#if BOOST_VERSION>=105400
+#include <boost/signals2/trackable.hpp>
+namespace boostSignal=boost::signals2;
 #include <boost/signals/trackable.hpp>
+namespace boostSignal=boost::signals;
 #include <huginapp/ImageCache.h>
 #include "PT/Panorama.h"
@@ -81,7 +88,7 @@
         // If the TextureInfo is deleted while the image is loading, we want to
         // avoid a segfault when the image loaded event happens. So we let the
         // signal react to destruction of a TextureInfo.
-        : public boost::signals::trackable
+        : public boostSignal::trackable
         TextureInfo(ViewState *new_view_state);