summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/Ice/Proxy.h2
-rw-r--r--cpp/src/Ice/Proxy.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index 5aef7898f4a..e54e973f5e1 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -105,7 +105,7 @@ public:
::Ice::Context ice_getContext() const;
::Ice::ObjectPrx ice_newContext(const ::Ice::Context&) const;
- ::std::string ice_getFacet() const;
+ const ::std::string& ice_getFacet() const;
::Ice::ObjectPrx ice_newFacet(const ::std::string&) const;
::Ice::ObjectPrx ice_twoway() const;
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 24c515308ef..c147ec9e250 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -316,7 +316,7 @@ IceProxy::Ice::Object::ice_newIdentity(const Identity& newIdentity) const
}
}
-string
+const string&
IceProxy::Ice::Object::ice_getFacet() const
{
return _reference->facet;