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:
parent
6cafa71f04
commit
f9ef17c1ea
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user