added more constructors to Cstr, Mcstr, Wcstr

This commit is contained in:
2015-03-12 02:14:13 +00:00
parent 47a7baeb7d
commit 0355e4e96e
2 changed files with 37 additions and 1 deletions

View File

@ -1736,7 +1736,7 @@ int Awk::deleteFunction (const char_t* name)
#if defined(QSE_AWK_USE_HTB_FOR_FUNCTION_MAP)
qse_htb_delete (this->functionMap, name, qse_strlen(name));
#else
this->functionMap.remove (Cstr(name, qse_strlen(name)));
this->functionMap.remove (Cstr(name));
#endif
}
else this->retrieveError ();