Commit 89c29403 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

SqliteQuery: Fix superfluous string copies

parent 49cbaec1
......@@ -43,8 +43,8 @@ public:
SqliteQuery( MediaLibraryPtr ml, std::string field, std::string base,
Params&&... params )
: m_ml( ml )
, m_field( field )
, m_base( base )
, m_field( std::move( field ) )
, m_base( std::move( base ) )
, m_params( std::forward<Params>( params )... )
, m_count( 0 )
, m_hasCount( false )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment