Use namespace std instead of prefixing {move,unique_ptr} with std::.
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
#include "ComboBoxModel.h"
|
||||
#include "embed.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
void ComboBoxModel::addItem( QString item, std::unique_ptr<PixmapLoader> loader )
|
||||
void ComboBoxModel::addItem( QString item, unique_ptr<PixmapLoader> loader )
|
||||
{
|
||||
m_items.emplace_back( std::move(item), std::move(loader) );
|
||||
m_items.emplace_back( move(item), move(loader) );
|
||||
setRange( 0, m_items.size() - 1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user