diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-10-03 20:19:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-10-03 20:19:25 +0100 |
commit | db0b906583f3d11db0b2aa6743f415c9b412f0b3 (patch) | |
tree | 81b0029f8f808fdf561ead97d7fff360a2922cd9 | |
parent | Wrap refresh in BOOST_REQUIRE_NO_THROW (diff) | |
download | gentoobrowse-api-db0b906583f3d11db0b2aa6743f415c9b412f0b3.tar.bz2 gentoobrowse-api-db0b906583f3d11db0b2aa6743f415c9b412f0b3.tar.xz gentoobrowse-api-db0b906583f3d11db0b2aa6743f415c9b412f0b3.zip |
Prevent copying Api object
-rw-r--r-- | gentoobrowse-api/service/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <Ice/Initialize.h> +#include <c++11Helpers.h> #include <icecube.h> #include <icetrayService.h> @@ -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 |