Use namespace std instead of prefixing {move,unique_ptr} with std::.

This commit is contained in:
Colin Wallace
2018-03-10 23:30:30 -08:00
parent ba278becbd
commit c8d9cc02d5

View File

@@ -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 );
}