summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/FileParserI.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2021-01-28 16:26:44 -0500
committerJoe George <joe@zeroc.com>2021-02-01 16:59:30 -0500
commit92a6531e409f2691d82591e185a92299d415fc0f (patch)
tree60c79e2a8f327b8f0b6ebc06b06f48a2e8086f6a /cpp/src/IceGrid/FileParserI.cpp
parentPort Glacier2, IceBox, IceBridge, IceDB, IceXML, icegriddb (diff)
downloadice-92a6531e409f2691d82591e185a92299d415fc0f.tar.bz2
ice-92a6531e409f2691d82591e185a92299d415fc0f.tar.xz
ice-92a6531e409f2691d82591e185a92299d415fc0f.zip
IceGrid and IceStorm
Diffstat (limited to 'cpp/src/IceGrid/FileParserI.cpp')
-rw-r--r--cpp/src/IceGrid/FileParserI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/FileParserI.cpp b/cpp/src/IceGrid/FileParserI.cpp
index fefe366a693..b382c561d9f 100644
--- a/cpp/src/IceGrid/FileParserI.cpp
+++ b/cpp/src/IceGrid/FileParserI.cpp
@@ -11,12 +11,12 @@ using namespace std;
using namespace IceGrid;
ApplicationDescriptor
-FileParserI::parse(const string& file, const AdminPrx& admin, const Ice::Current& current)
+FileParserI::parse(string file, shared_ptr<AdminPrx> admin, const Ice::Current& current)
{
try
{
- return DescriptorParser::parseDescriptor(file, Ice::StringSeq(), map<string, string>(),
- current.adapter->getCommunicator(), admin);
+ return DescriptorParser::parseDescriptor(move(file), Ice::StringSeq(), map<string, string>(),
+ current.adapter->getCommunicator(), move(admin));
}
catch(const IceXML::ParserException& e)
{