summaryrefslogtreecommitdiff
path: root/src/declare.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-02-13 22:59:44 -0500
committerAdrian Thurston <thurston@complang.org>2015-02-13 22:59:44 -0500
commit3151be71170cd2ac01567d6277ccf5019a647bc9 (patch)
treea980223982b2fff85c6ae2d177cf11404270ce6e /src/declare.cc
parent774ace89051bddee3197870aa0a90afde00bd1ad (diff)
downloadcolm-3151be71170cd2ac01567d6277ccf5019a647bc9.tar.gz
implemented vmap find
Diffstat (limited to 'src/declare.cc')
-rw-r--r--src/declare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declare.cc b/src/declare.cc
index 2b396dbe..386a0638 100644
--- a/src/declare.cc
+++ b/src/declare.cc
@@ -1046,7 +1046,7 @@ void Compiler::initMapFunctions( GenericType *gen )
void Compiler::initValueMapFunctions( GenericType *gen )
{
- initFunction( gen->utArg, gen->objDef, "find",
+ initFunction( gen->valueUT, gen->objDef, "find",
IN_VMAP_FIND, IN_VMAP_FIND, gen->keyUT, true, true, gen );
initFunction( uniqueTypeInt, gen->objDef, "insert",