Changes in / [124e14:e9c677]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/helpers.hpp

    r124e14 re9c677  
    8181 * \return greater of the two (by operator>())
    8282 */
    83 template <typename T> T Max(T x, T y)
     83template <typename T> T Max(T &x, T &y)
    8484{
    8585  if (x > y)
     
    9393 * \return smaller of the two (by operator<())
    9494 */
    95 template <typename T> T Min(T x, T y)
     95template <typename T> T Min(T &x, T &y)
    9696{
    9797  if (x < y)
Note: See TracChangeset for help on using the changeset viewer.