Skip to content

Commit

Permalink
inline some rageutil functions for iterators
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 25, 2020
1 parent e1f4620 commit b3597ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RageUtil/Utils/RageUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -800,14 +800,14 @@ FindIndex(T1 begin, T1 end, const T2* p)
/* Useful for objects with no operator-, eg. map::iterator (more convenient than
* advance). */
template<class T>
T
inline T
Increment(T a)
{
++a;
return a;
}
template<class T>
T
inline T
Decrement(T a)
{
--a;
Expand Down

0 comments on commit b3597ec

Please sign in to comment.