summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorulrich.bauer@gmail.com <ulrich.bauer@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2013-10-25 13:36:16 +0000
committerulrich.bauer@gmail.com <ulrich.bauer@gmail.com@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2013-10-25 13:36:16 +0000
commit29c8f0aa206935e1841864d47e8df46239eec4ca (patch)
treeefc76672efcdbeed35f816fe98601f3acea9260e /include
parent7f8d53438a019d9834d7ed66844aa46b0e175e94 (diff)
small fix suggested by Hubert
On 14.09.2013, at 12:52, Hubert Wagner <hub.wag@gmail.com> wrote: Hi Uli, I am using PHAT for some experiments and it didn't compile under VC++ 2010. The problem was that std::back_inserter was not found in a number of cases. The solution is to #include <iterator> in helpers/misc.h. Best, Hubert git-svn-id: https://phat.googlecode.com/svn/trunk@143 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
Diffstat (limited to 'include')
-rw-r--r--include/phat/helpers/misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/phat/helpers/misc.h b/include/phat/helpers/misc.h
index d9d5d8f..fb5c07a 100644
--- a/include/phat/helpers/misc.h
+++ b/include/phat/helpers/misc.h
@@ -34,7 +34,8 @@
#include <iomanip>
#include <cmath>
#include <cstdlib>
-
+#include <iterator>
+
// VS2008 and below unfortunately do not support stdint.h
#if defined(_MSC_VER)&& _MSC_VER < 1600
typedef __int8 int8_t;