Remove unneccessary using statements
This commit is contained in:
parent
1698044eb8
commit
e5647ace48
@ -5,8 +5,6 @@
|
|||||||
#include "FuseErrnoException.h"
|
#include "FuseErrnoException.h"
|
||||||
#include "Filesystem.h"
|
#include "Filesystem.h"
|
||||||
|
|
||||||
using std::unique_ptr;
|
|
||||||
using std::make_unique;
|
|
||||||
using std::string;
|
using std::string;
|
||||||
|
|
||||||
namespace bf = boost::filesystem;
|
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*)*/
|
int fusepp_fallocate(const char*, int, off_t, off_t, fuse_file_info*)*/
|
||||||
|
|
||||||
fuse_operations *operations() {
|
fuse_operations *operations() {
|
||||||
static unique_ptr<fuse_operations> singleton(nullptr);
|
static std::unique_ptr<fuse_operations> singleton(nullptr);
|
||||||
|
|
||||||
if (!singleton) {
|
if (!singleton) {
|
||||||
singleton = make_unique<fuse_operations>();
|
singleton = std::make_unique<fuse_operations>();
|
||||||
singleton->getattr = &fusepp_getattr;
|
singleton->getattr = &fusepp_getattr;
|
||||||
singleton->fgetattr = &fusepp_fgetattr;
|
singleton->fgetattr = &fusepp_fgetattr;
|
||||||
singleton->readlink = &fusepp_readlink;
|
singleton->readlink = &fusepp_readlink;
|
||||||
|
@ -22,8 +22,6 @@ using ::testing::Action;
|
|||||||
using std::tuple;
|
using std::tuple;
|
||||||
using std::get;
|
using std::get;
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::unique_ptr;
|
|
||||||
using std::make_unique;
|
|
||||||
using cpputils::Data;
|
using cpputils::Data;
|
||||||
using cpputils::DataFixture;
|
using cpputils::DataFixture;
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@ using ::testing::Action;
|
|||||||
using std::tuple;
|
using std::tuple;
|
||||||
using std::get;
|
using std::get;
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::unique_ptr;
|
|
||||||
using std::make_unique;
|
|
||||||
using cpputils::Data;
|
using cpputils::Data;
|
||||||
using cpputils::DataFixture;
|
using cpputils::DataFixture;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user