summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Graph.m
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/common/Graph.m')
-rw-r--r--tikzit/src/common/Graph.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/tikzit/src/common/Graph.m b/tikzit/src/common/Graph.m
index 63476f3..e83a99c 100644
--- a/tikzit/src/common/Graph.m
+++ b/tikzit/src/common/Graph.m
@@ -44,8 +44,8 @@
if (dirty) {
[inEdges release];
[outEdges release];
- inEdges = [[NSMapTable alloc] init];
- outEdges = [[NSMapTable alloc] init];
+ inEdges = [[NSMapTable alloc] initWithKeyOptions:NSMapTableStrongMemory valueOptions:NSMapTableStrongMemory capacity:10];
+ outEdges = [[NSMapTable alloc] initWithKeyOptions:NSMapTableStrongMemory valueOptions:NSMapTableStrongMemory capacity:10];
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];