diff options
Diffstat (limited to 'connectivity/source/inc/file/fcode.hxx')
-rw-r--r-- | connectivity/source/inc/file/fcode.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx index c78461743c27..daadbf880f5a 100644 --- a/connectivity/source/inc/file/fcode.hxx +++ b/connectivity/source/inc/file/fcode.hxx @@ -25,6 +25,7 @@ #include <file/filedllapi.hxx> #include <stack> +#include <utility> namespace connectivity { @@ -107,9 +108,9 @@ namespace connectivity protected: OOperandValue(){} - OOperandValue(const ORowSetValue& _rVar, sal_Int32 eDbType) + OOperandValue(ORowSetValue _aVar, sal_Int32 eDbType) : OOperand(eDbType) - , m_aValue(_rVar) + , m_aValue(std::move(_aVar)) {} OOperandValue(sal_Int32 eDbType) :OOperand(eDbType){} |