diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-11 15:41:30 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-06-11 15:41:30 +0100 |
commit | 61e8d3bfbb8fe878ba59610422fb450be5a47784 (patch) | |
tree | cbe104835735c10435b2bd80869ad3b2c2c2ca4b | |
parent | Keep a static pointer to the current IceTray::Service instance (diff) | |
download | icetray-61e8d3bfbb8fe878ba59610422fb450be5a47784.tar.bz2 icetray-61e8d3bfbb8fe878ba59610422fb450be5a47784.tar.xz icetray-61e8d3bfbb8fe878ba59610422fb450be5a47784.zip |
Move the object adapter into private scope
-rw-r--r-- | icetray/icetray/icetrayService.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; }; |