diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
commit | 3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a (patch) | |
tree | 5af66030548c3250946ee68f786e60fa5bfee9c7 /matlab/src/IceMatlab/Endpoint.cpp | |
parent | Adding inheritance test (diff) | |
download | ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.bz2 ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.xz ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.zip |
Adding more tests; checksum support
Diffstat (limited to 'matlab/src/IceMatlab/Endpoint.cpp')
-rw-r--r-- | matlab/src/IceMatlab/Endpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matlab/src/IceMatlab/Endpoint.cpp b/matlab/src/IceMatlab/Endpoint.cpp index 78688469262..bb9dfca9862 100644 --- a/matlab/src/IceMatlab/Endpoint.cpp +++ b/matlab/src/IceMatlab/Endpoint.cpp @@ -21,7 +21,7 @@ using namespace std; using namespace IceMatlab; void* -IceMatlab::createEndpoint(shared_ptr<Ice::Endpoint> p) +IceMatlab::createEndpoint(const shared_ptr<Ice::Endpoint>& p) { return new shared_ptr<Ice::Endpoint>(p); } @@ -73,7 +73,7 @@ static const char* infoFields[] = }; mxArray* -createInfo(shared_ptr<Ice::EndpointInfo> info) +createInfo(const shared_ptr<Ice::EndpointInfo>& info) { // // Create and return a struct array containing the fields that describe the EndpointInfo object. |