summaryrefslogtreecommitdiff
path: root/connectivity/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-26 15:12:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-26 20:04:16 +0100
commit10d8ba5fa6fac708c960278454ba403a95e355c3 (patch)
tree91d1d5f48fe248e1f42568103d5798a65c108775 /connectivity/source/inc
parentdfa791941ee13bd06adc91ed097c44b65a995a14 (diff)
cid#1500433 Using a moved object
Change-Id: I150cd0f021aeb1aefe411f19dfcac111ac35b295 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130592 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r--connectivity/source/inc/odbc/OResultSetMetaData.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/odbc/OResultSetMetaData.hxx b/connectivity/source/inc/odbc/OResultSetMetaData.hxx
index 6c1acc13bfb9..ea32a453e99a 100644
--- a/connectivity/source/inc/odbc/OResultSetMetaData.hxx
+++ b/connectivity/source/inc/odbc/OResultSetMetaData.hxx
@@ -62,7 +62,7 @@ namespace connectivity::odbc
:m_vMapping(std::move(_vMapping))
,m_aStatementHandle( _pStmt )
,m_pConnection(_pConnection)
- ,m_nColCount(_vMapping.size()-1)
+ ,m_nColCount(m_vMapping.size()-1)
,m_bUseODBC2Types(false)
{}
virtual ~OResultSetMetaData() override;