aboutsummaryrefslogtreecommitdiff
path: root/backend/util.hpp
blob: 58b7977181034a069c097d7a5d36707d1f3ac468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "util.h"

template <typename T>
inline T min(const T & a, const T & b) {
	return a < b ? a : b;
}

template <typename T>
inline T max(const T & a, const T & b) {
	return a < b ? b : a;
}