diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-26 15:12:37 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-09 09:17:13 +0100 |
commit | 3f8b3812ac59fa4be131f70bd2e1d20ce71ea181 (patch) | |
tree | 887f54f3bcb015392c22447455826270172c08b1 /connectivity | |
parent | bc206a74178efc60cdff514cf7709b90e6cba8b2 (diff) |
cid#1500433 Using a moved object
Change-Id: I150cd0f021aeb1aefe411f19dfcac111ac35b295
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130555
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/inc/odbc/OResultSetMetaData.hxx | 2 |
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; |