diff options
Diffstat (limited to 'connectivity/source/inc/TSortIndex.hxx')
-rw-r--r-- | connectivity/source/inc/TSortIndex.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx index c0354316efd9..3ac339f7e9f0 100644 --- a/connectivity/source/inc/TSortIndex.hxx +++ b/connectivity/source/inc/TSortIndex.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX -#define INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX +#pragma once #include <connectivity/dbtoolsdllapi.hxx> #include "TKeyValue.hxx" @@ -58,8 +57,8 @@ namespace connectivity public: - OSortIndex( const std::vector<OKeyType>& _aKeyType, - const std::vector<TAscendingOrder>& _aAscending); + OSortIndex( std::vector<OKeyType>&& _aKeyType, + std::vector<TAscendingOrder>&& _aAscending); OSortIndex(OSortIndex const &) = delete; // MSVC2015 workaround OSortIndex& operator=(OSortIndex const &) = delete; // MSVC2015 workaround @@ -107,6 +106,5 @@ namespace connectivity void setFrozen() { m_bFrozen = true; } }; } -#endif // INCLUDED_CONNECTIVITY_SOURCE_INC_TSORTINDEX_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |