[CMake] Use C++17

This commit is contained in:
Nekotekina 2018-08-24 00:32:40 +03:00
parent 76bac80dde
commit 5afd12e8a4
3 changed files with 3 additions and 20 deletions

View file

@ -45,13 +45,3 @@ namespace std { inline namespace literals { inline namespace chrono_literals {}}
#include <algorithm>
using namespace std::literals;
// Remove once we move to C++17
namespace std
{
template<typename T>
constexpr const T clamp(const T value, const T min, const T max)
{
return value < min ? min : value > max ? max : value;
}
}