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:
Colin Wallace
2018-03-11 09:07:00 -07:00
parent c8d9cc02d5
commit ec3c9cdf10
3 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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 )
{

View File

@@ -67,7 +67,7 @@
#define MiddleButton MidButton
#endif
using namespace std;
using std::move;
typedef AutomationPattern::timeMap timeMap;