summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb/HDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HDriver.cxx')
-rw-r--r--connectivity/source/drivers/hsqldb/HDriver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx
index 373f0e81e593..5ae04b3acd88 100644
--- a/connectivity/source/drivers/hsqldb/HDriver.cxx
+++ b/connectivity/source/drivers/hsqldb/HDriver.cxx
@@ -584,7 +584,7 @@ namespace connectivity
{
OUString sKey = StorageContainer::getRegisteredKey(xStorage);
TWeakPairVector::iterator i = ::std::find_if(m_aConnections.begin(),m_aConnections.end(),
- [&sKey] (TWeakPairVector::value_type conn) {
+ [&sKey] (const TWeakPairVector::value_type& conn) {
return conn.second.first == sKey;
});
@@ -640,7 +640,7 @@ namespace connectivity
if ( !sKey.isEmpty() )
{
TWeakPairVector::iterator i = ::std::find_if(m_aConnections.begin(), m_aConnections.end(),
- [&sKey] (TWeakPairVector::value_type conn) {
+ [&sKey] (const TWeakPairVector::value_type& conn) {
return conn.second.first == sKey;
});