Skip to content

Commit

Permalink
Attempting to fix #1018: compiling bug with gcc 4.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Nov 18, 2013
1 parent dffe805 commit 606d0ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hpx/util/reinitializable_static.hpp
Expand Up @@ -91,7 +91,7 @@ namespace hpx { namespace util
{
value_construct(*pv);
reinit_register(boost::bind(
&reinitializable_static::value_construct<U>, *pv),
&reinitializable_static::template value_construct<U>, *pv),
&reinitializable_static::destruct);
}

Expand All @@ -111,7 +111,8 @@ namespace hpx { namespace util
{
// do not rely on ADL to find the proper call_once
boost::call_once(constructed_,
boost::bind(&reinitializable_static::value_constructor<U>,
boost::bind(
&reinitializable_static::template value_constructor<U>,
const_cast<U const *>(boost::addressof(val))));
}

Expand Down

0 comments on commit 606d0ff

Please sign in to comment.