From 61e8d3bfbb8fe878ba59610422fb450be5a47784 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 Jun 2017 15:41:30 +0100 Subject: Move the object adapter into private scope --- icetray/icetray/icetrayService.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icetray/icetray/icetrayService.h b/icetray/icetray/icetrayService.h index 69ab487..75902b7 100644 --- a/icetray/icetray/icetrayService.h +++ b/icetray/icetray/icetrayService.h @@ -21,9 +21,10 @@ namespace IceTray { DatabasePoolPtr getConnectionPool(const Ice::CommunicatorPtr & ic, const std::string & type, const std::string & prefix); static Service * getCurrent(); - Ice::ObjectAdapterPtr adp; private: + friend class DryIce; + Ice::ObjectAdapterPtr adp; static Service * current; }; -- cgit v1.2.3