MS Visual Studio needs help finding std::min and std::max

This commit is contained in:
Kemmler 2015-01-18 03:08:12 -05:00
parent 6e06110b75
commit 6535690a69

View File

@ -1,9 +1,12 @@
#include <string> #include <string>
#include <cmath> #include <cmath>
#include "position.h" #include "position.h"
#include "../common/string_util.h" #include "../common/string_util.h"
#ifdef _MSC_VER
#include <algorithm>
#endif
xy_location::xy_location(float x, float y) : xy_location::xy_location(float x, float y) :
m_X(x), m_X(x),
m_Y(y) { m_Y(y) {