aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Signal.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2009-10-03 11:38:41 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-10-03 11:38:41 (GMT)
commitf2ea245f1dfc7c4941143db49ae81b8fceefea8c (patch)
treea5ce1bdb3a3aedc77ad5eca4e5015525b5e95cdf /src/FbTk/Signal.hh
parent0f299ceecd8a2282f31ffc55db8721bbd16c6267 (diff)
downloadfluxbox_pavel-f2ea245f1dfc7c4941143db49ae81b8fceefea8c.zip
fluxbox_pavel-f2ea245f1dfc7c4941143db49ae81b8fceefea8c.tar.bz2
compile fixes for sun compiler 5.10: complains about 'not beeing able to initialize this from that'
Diffstat (limited to 'src/FbTk/Signal.hh')
-rw-r--r--src/FbTk/Signal.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Signal.hh b/src/FbTk/Signal.hh
index df30cda..7ad4d00 100644
--- a/src/FbTk/Signal.hh
+++ b/src/FbTk/Signal.hh
@@ -203,7 +203,7 @@ public:
203 /// @return A tracking ID ( not unique ) 203 /// @return A tracking ID ( not unique )
204 template <typename Signal, typename Functor> 204 template <typename Signal, typename Functor>
205 TrackID join(Signal& sig, const Functor& functor) { 205 TrackID join(Signal& sig, const Functor& functor) {
206 ValueType value = std::make_pair(&sig, sig.connect(functor)); 206 ValueType value = ValueType(&sig, sig.connect(functor));
207 std::pair<TrackID, bool> ret = m_connections.insert(value); 207 std::pair<TrackID, bool> ret = m_connections.insert(value);
208 if ( !ret.second ) { 208 if ( !ret.second ) {
209 // failed to insert this functor 209 // failed to insert this functor