summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0666a3c..c6b1c90 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -12,14 +12,21 @@ namespace GitFS {
git_libgit2_init();
}
- ~Main()
+ ~Main() override
{
git_libgit2_shutdown();
}
+ Main(const Main &) = delete;
+ Main(Main &&) = delete;
+
+ Main & operator=(const Main &) = delete;
+ Main & operator=(Main &&) = delete;
+
void addObjects(const std::string &, const Ice::CommunicatorPtr & ic, const Ice::StringSeq &, const Ice::ObjectAdapterPtr & adp) override
{
- IceTray::Cube::addObject<NetFS::Service, RepoList>(adp, "Service", ic->getProperties());
+ IceTray::Cube::addObject<NetFS::Service, RepoList>(adp, "Service",
+ std::move(ic->getProperties()));
}
};