summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icetray/icetray/icetrayService.h3
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;
};