We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b17b33d commit 1930864Copy full SHA for 1930864
fwdpp/ts/types/tree_sequence.hpp
@@ -47,8 +47,8 @@ namespace fwdpp
47
tree() const
48
{
49
// FIXME: should be nullopt if no more trees
50
- return std::optional<const marginal_tree<SignedInteger>&>{
51
- std::cref(tree_)};
+ return std::optional<const marginal_tree<SignedInteger>&>(
+ std::cref(tree_));
52
}
53
#endif
54
};
0 commit comments