Use numeric_limits instead of constants from C

In C++, using numeric_limits is more idiomatic compared to using constants.
This commit is contained in:
Chocobo1
2019-06-19 22:23:58 +08:00
parent 75c80c3716
commit 0b1b3c1f84
4 changed files with 8 additions and 6 deletions

View File

@@ -28,7 +28,6 @@
#include "random.h"
#include <limits>
#include <random>
#include <QtGlobal>