Include the algorithm header file 41/244641/1
authorWander Lairson Costa <wander.lairson@gmail.com>
Tue, 22 Sep 2020 17:24:58 +0000 (14:24 -0300)
committerWander Lairson Costa <wander.lairson@gmail.com>
Tue, 22 Sep 2020 17:26:28 +0000 (14:26 -0300)
It is necessary by std::min and std::max. This fixes dali-demo build on
Windows.

Change-Id: Id10dd27f2b90b675ba68c1504f829853ace5071d

dali/public-api/math/random.h

index c5cf47e..a9d6d80 100644 (file)
@@ -20,6 +20,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/public-api/math/vector4.h>
+#include <algorithm>
 
 namespace Dali
 {