Skip to content

Commit

Permalink
Merge pull request simongog#208 from dominiKoeppl/master
Browse files Browse the repository at this point in the history
Reference-return at post-increment.
  • Loading branch information
simongog committed Oct 24, 2014
2 parents 00276b1 + b36d8d8 commit d533b26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sdsl/cst_sct3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ class cst_sct3
* \par Time complexity
* \f$ \Order{1}\f$
*/
cst_node_child_proxy<cst_sct3> children(const node_type v) const
cst_node_child_proxy<cst_sct3> children(const node_type& v) const
{
return cst_node_child_proxy<cst_sct3>(this,v);
}
Expand Down
2 changes: 1 addition & 1 deletion include/sdsl/suffix_tree_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class cst_node_child_proxy_iterator : public std::iterator<std::forward_iterator
m_cur_node = m_cst->sibling(m_cur_node);
return *this;
}
iterator_type& operator++(int) {
iterator_type operator++(int) {
iterator_type it = *this;
++(*this);
return it;
Expand Down

0 comments on commit d533b26

Please sign in to comment.