aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-15 23:15:20 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-15 23:15:20 +0800
commit57230f75d7bbdf1c8d278b464f60f01c937e6a07 (patch)
tree3aea0a2b128f406aa83350de970032e63042517c /model.cpp
parentfd4d72a0505c3cef83c14c153e0e600e63099ffd (diff)
...
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/model.cpp b/model.cpp
index 12aa665..2e28795 100644
--- a/model.cpp
+++ b/model.cpp
@@ -5,11 +5,12 @@
#include "gc.h"
#include <cstdio>
+#include <set>
static const int REPR_STACK_SIZE = 262144;
extern EmptyList *empty_list;
extern GarbageCollector gc;
-typedef set<EvalObj*> EvalObjAddrHash;
+typedef std::set<EvalObj*> EvalObjAddrHash;
/** Maintain the current in-stack objects to detect circular structures */
static EvalObjAddrHash hash;