Revise comments about C++14

This commit is contained in:
Chocobo1 2019-02-04 13:09:21 +08:00
parent 6d29a3af60
commit 364a837dbd
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
3 changed files with 3 additions and 3 deletions

View file

@ -225,7 +225,7 @@ namespace
template <typename T>
std::function<T (const T&)> clampValue(const T lower, const T upper)
{
// TODO: change return type to `auto` when using C++14
// TODO: change return type to `auto` when using C++17
return [lower, upper](const T value) -> T
{
if (value < lower)