summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-16 16:29:06 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-16 16:29:06 +0100
commit0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496 (patch)
treea5869036a4b8109f7db71f8e3970d646622e5e8c /src/main.cpp
parentUpdate branch names from master to main (diff)
downloadnetfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.bz2
netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.xz
netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.zip
Fix-up all the clang-tidy warnings
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7ee7dff..1314d12 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -6,7 +6,6 @@
#include <git2.h>
#include <icecube.h>
#include <icetrayService.h>
-#include <memory>
#include <service.h>
#include <string>
@@ -30,10 +29,10 @@ namespace GitFS {
Main & operator=(Main &&) = delete;
void
- addObjects(const std::string &, const Ice::CommunicatorPtr & ic, const Ice::StringSeq &,
+ addObjects(const std::string &, const Ice::CommunicatorPtr & com, 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", com->getProperties());
}
};