mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-23 00:23:13 +01:00
16 lines
213 B
C++
16 lines
213 B
C++
#pragma once
|
|
|
|
template <typename T>
|
|
const T& Min(const T& a, const T& b) {
|
|
if (a < b) return a;
|
|
|
|
return b;
|
|
}
|
|
|
|
template <typename T>
|
|
const T& Max(const T& a, const T& b) {
|
|
if (a > b) return a;
|
|
|
|
return b;
|
|
}
|