Remove unneccessary using statements

This commit is contained in:
Sebastian Messmer 2015-07-21 18:22:55 +02:00
parent 1698044eb8
commit e5647ace48
3 changed files with 2 additions and 8 deletions

View File

@ -5,8 +5,6 @@
#include "FuseErrnoException.h"
#include "Filesystem.h"
using std::unique_ptr;
using std::make_unique;
using std::string;
namespace bf = boost::filesystem;
@ -157,10 +155,10 @@ int fusepp_flock(const char*, fuse_file_info*, int op)
int fusepp_fallocate(const char*, int, off_t, off_t, fuse_file_info*)*/
fuse_operations *operations() {
static unique_ptr<fuse_operations> singleton(nullptr);
static std::unique_ptr<fuse_operations> singleton(nullptr);
if (!singleton) {
singleton = make_unique<fuse_operations>();
singleton = std::make_unique<fuse_operations>();
singleton->getattr = &fusepp_getattr;
singleton->fgetattr = &fusepp_fgetattr;
singleton->readlink = &fusepp_readlink;

View File

@ -22,8 +22,6 @@ using ::testing::Action;
using std::tuple;
using std::get;
using std::min;
using std::unique_ptr;
using std::make_unique;
using cpputils::Data;
using cpputils::DataFixture;

View File

@ -20,8 +20,6 @@ using ::testing::Action;
using std::tuple;
using std::get;
using std::min;
using std::unique_ptr;
using std::make_unique;
using cpputils::Data;
using cpputils::DataFixture;