Commit 338201de authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

fix warning with modern gcc about having constructor but not operator=

parent bccb9c1e
......@@ -38,10 +38,9 @@ class EntryList::Private
Private() : storedScrollValue( 0 )
, sorted( false )
, sortedByDictionary( false ) {}
Private( const Private &old ) : storedScrollValue( old.storedScrollValue )
, sorted( old.sorted )
, sortedByDictionary( old.sortedByDictionary )
, query( old.query ) {}
Private( const Private &other ) = default;
Private &operator=( const Private &other ) = default;
int storedScrollValue;
bool sorted;
......
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