Skip to content

Commit

Permalink
Replace {} with ()
Browse files Browse the repository at this point in the history
This is because g++ (Debian 4.9.1-14) produced an error:

    internal compiler error: in convert_move, at expr.c:331

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761529 and
#22
  • Loading branch information
mgeier committed Sep 18, 2014
1 parent 481244d commit e6f2b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apf/apf/misc.h
Expand Up @@ -98,8 +98,8 @@ class BlockParameter
/// Constructor. Any arguments are forwarded to both old and current value.
template<typename... Args>
explicit BlockParameter(Args&&... args)
: _current{args...}
, _old{std::forward<Args>(args)...}
: _current(args...)
, _old(std::forward<Args>(args)...)
{}

/// Assignment operator.
Expand Down

0 comments on commit e6f2b07

Please sign in to comment.