Only use specific std:: items we need.
Also, fix `using std::unique_ptr` to `using std::make_unique` in stdshims.h
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#if (__cplusplus >= 201402L)
|
||||
#warning "This file should now be removed! The functions it provides are part of the C++14 standard."
|
||||
using std::unique_ptr;
|
||||
using std::make_unique;
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
#include "ComboBoxModel.h"
|
||||
#include "embed.h"
|
||||
|
||||
using namespace std;
|
||||
using std::unique_ptr;
|
||||
using std::move;
|
||||
|
||||
void ComboBoxModel::addItem( QString item, unique_ptr<PixmapLoader> loader )
|
||||
{
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
#define MiddleButton MidButton
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
using std::move;
|
||||
|
||||
typedef AutomationPattern::timeMap timeMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user