From db0b906583f3d11db0b2aa6743f415c9b412f0b3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 3 Oct 2021 20:19:25 +0100 Subject: Prevent copying Api object --- gentoobrowse-api/service/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gentoobrowse-api/service/main.cpp b/gentoobrowse-api/service/main.cpp index d79f13b..8d21d92 100644 --- a/gentoobrowse-api/service/main.cpp +++ b/gentoobrowse-api/service/main.cpp @@ -4,6 +4,7 @@ #include "portageimpl.h" #include "usersimpl.h" #include +#include #include #include @@ -29,6 +30,8 @@ namespace Gentoo { git_libgit2_shutdown(); } + SPECIAL_MEMBERS_DELETE(Api); + void addObjects(const std::string &, const Ice::CommunicatorPtr & ic, const Ice::StringSeq &, const Ice::ObjectAdapterPtr & adp) override -- cgit v1.2.3