Permalink
Browse files

add a non-const stat() method in the Ea class (see #47)

  • Loading branch information...
jbmouret committed Dec 21, 2016
1 parent a30df71 commit f46f6d129363f8c6dcd597513d65a11ebe3ef1d1
Showing with 4 additions and 0 deletions.
  1. +4 −0 sferes/ea/ea.hpp
View
@@ -274,6 +274,10 @@ namespace sferes {
const stat_t& stat() const {
return _stat;
}
// see issue #47
stat_t& stat() {
return _stat;
}
template<int I>
const typename boost::fusion::result_of::value_at_c<stat_t, I>::type& stat() const {
return boost::fusion::at_c<I>(_stat);

0 comments on commit f46f6d1

Please sign in to comment.