OSDN Git Service

remove non-documented and unused qIntCast() functions
authorIvailo Monev <xakepa10@laimg.moc>
Mon, 22 Jun 2020 11:52:32 +0000 (11:52 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Mon, 22 Jun 2020 11:52:32 +0000 (11:52 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/global/qglobal.h.cmake

index 455e98b..1b077f6 100644 (file)
@@ -1186,9 +1186,6 @@ class QByteArray;
 Q_CORE_EXPORT QByteArray qgetenv(const char *varName);
 Q_CORE_EXPORT bool qputenv(const char *varName, const QByteArray& value);
 
-inline int qIntCast(double f) { return int(f); }
-inline int qIntCast(float f) { return int(f); }
-
 /*
   Reentrant versions of basic rand() functions for random number generation
 */