Add algorithm header for std::max function.
This generates an error with Visual C++ 2013. See http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes-and-breaking-changes-in-vs-2013.aspx This is a breaking change in VS2013 to be conform to C++11: "You must #include <algorithm> when calling std::min() or std::max()" Change-Id: Ib43dfe0b7bf249d23bd6539f0f3b0e38bc9af5b2
Showing
Please register or sign in to comment