From 6e8e84cdcb300092f93479d50e62479c83f1ac49 Mon Sep 17 00:00:00 2001 From: randomguy3 Date: Tue, 17 Jan 2012 17:58:26 +0000 Subject: Remove BasicMapTable git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@385 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64 --- tikzit/src/common/ColorRGB.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tikzit/src/common/ColorRGB.m') diff --git a/tikzit/src/common/ColorRGB.m b/tikzit/src/common/ColorRGB.m index 7b3e51f..b6fc2e3 100644 --- a/tikzit/src/common/ColorRGB.m +++ b/tikzit/src/common/ColorRGB.m @@ -22,7 +22,6 @@ // #import "ColorRGB.h" -#import "BasicMapTable.h" #import "util.h" typedef struct { @@ -180,7 +179,7 @@ static const ColorRGBEntry kColors[147] = { { @"YellowGreen", 154, 205, 50 } }; -static BasicMapTable *colorHash = nil; +static NSMapTable *colorHash = nil; @implementation ColorRGB @@ -285,7 +284,7 @@ static BasicMapTable *colorHash = nil; } + (void)makeColorHash { - BasicMapTable *h = [[BasicMapTable alloc] init]; + NSMapTable *h = [[NSMapTable alloc] init]; int i; for (i = 0; i < 147; ++i) { ColorRGB *col = [[ColorRGB alloc] initWithRed:kColors[i].r -- cgit v1.2.3