summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/SessionManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/SessionManager.h')
-rw-r--r--cpp/src/IceGrid/SessionManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/SessionManager.h b/cpp/src/IceGrid/SessionManager.h
index 0dcb3b006e2..02558d63848 100644
--- a/cpp/src/IceGrid/SessionManager.h
+++ b/cpp/src/IceGrid/SessionManager.h
@@ -143,7 +143,7 @@ public:
}
virtual bool
- tryCreateSession(InternalRegistryPrx registry)
+ tryCreateSession(const InternalRegistryPrx& registry)
{
{
Lock sync(*this);
@@ -170,7 +170,7 @@ public:
{
wait();
}
- }
+ }
return true;
}