Fix bustage. gcc dosn't like function-results used as non-const argument.

git-svn-id: svn://10.0.0.236/trunk@102609 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sicking%bigfoot.com 2001-09-09 17:02:15 +00:00
parent 6cafa71f04
commit f9ef17c1ea
2 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ void NamedMap::put(const String& key, TxObject* obj) {
* @param key the key of the Object to remove from the NamedMap
* @return the Object being removed
**/
TxObject* NamedMap::remove(String& key) {
TxObject* NamedMap::remove(const String& key) {
// compute hash for key
long hashCode = hashKey(key);

View File

@ -125,7 +125,7 @@ public:
* @param index the position in the NodeSet to remove the Node from
* @return the Node that was removed from the list
**/
TxObject* remove(String& key);
TxObject* remove(const String& key);
/**
* Sets the object deletion flag. If set to true, objects in