diff options
Diffstat (limited to 'utils/testid.cc')
-rw-r--r-- | utils/testid.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/testid.cc b/utils/testid.cc index bb79ced..72f30ae 100644 --- a/utils/testid.cc +++ b/utils/testid.cc @@ -4,7 +4,7 @@ #include <stdlib.h> #include <string.h> -CcuIdTableOf <char> table (2); +IvlIdTableOf <char> table (2); main () { @@ -32,7 +32,7 @@ main () } if (strcmp (s, "#") == 0) { - CcuIdIter hi = table; + IvlIdIter hi = table; while (++hi) printf ("%d: %s\n", hi.CurId (), *hi); continue; @@ -41,7 +41,7 @@ main () /* delete */ if (*s == '-') { bool found; - CcuID id = (CcuID) (atoi (++s)); + IvlID id = (IvlID) (atoi (++s)); printf ("searching id %d\n", id); char* info = table.Remove (id, &found); if (! found) @@ -54,7 +54,7 @@ main () } /* add */ - CcuID id = table.Store (NewString (s)); + IvlID id = table.Store (NewString (s)); printf ("-> %d\n", id); } |