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
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
4 changed files with 8 additions and 6 deletions

View file

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