Remove useless using std
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include <QtDebug>
|
||||
#include <QUndoStack>
|
||||
|
||||
using std::shared_ptr;
|
||||
using ::testing::Return;
|
||||
|
||||
namespace {
|
||||
@@ -60,8 +59,8 @@ class PlaylistTest : public ::testing::Test {
|
||||
return ret;
|
||||
}
|
||||
|
||||
shared_ptr<PlaylistItem> MakeMockItemP(const QString& title, const QString& artist = QString(), const QString& album = QString(), int length = 123) const {
|
||||
return shared_ptr<PlaylistItem>(MakeMockItem(title, artist, album, length));
|
||||
std::shared_ptr<PlaylistItem> MakeMockItemP(const QString& title, const QString& artist = QString(), const QString& album = QString(), int length = 123) const {
|
||||
return std::shared_ptr<PlaylistItem>(MakeMockItem(title, artist, album, length));
|
||||
}
|
||||
|
||||
Playlist playlist_;
|
||||
@@ -76,7 +75,7 @@ TEST_F(PlaylistTest, Basic) {
|
||||
TEST_F(PlaylistTest, InsertItems) {
|
||||
|
||||
MockPlaylistItem* item = MakeMockItem("Title", "Artist", "Album", 123);
|
||||
shared_ptr<PlaylistItem> item_ptr(item);
|
||||
std::shared_ptr<PlaylistItem> item_ptr(item);
|
||||
|
||||
// Insert the item
|
||||
EXPECT_EQ(0, playlist_.rowCount(QModelIndex()));
|
||||
|
||||
Reference in New Issue
Block a user