diff options
Diffstat (limited to 'project2/ice/iceDataSource.cpp')
-rw-r--r-- | project2/ice/iceDataSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project2/ice/iceDataSource.cpp b/project2/ice/iceDataSource.cpp index cce2dd8..9a13f4c 100644 --- a/project2/ice/iceDataSource.cpp +++ b/project2/ice/iceDataSource.cpp @@ -21,7 +21,7 @@ int dummy = 0; IceDataSource::IceDataSource(ScriptNodePtr p) : DataSource(p), endpoint(p, "endpoint"), - ic(Ice::initialize(dummy, NULL)) + ic(Ice::initialize()) { Logger()->messagebf(LOG_DEBUG, "%s: endpoint: %s", __PRETTY_FUNCTION__, endpoint(NULL)); } @@ -34,7 +34,7 @@ IceDataSource::~IceDataSource() IceCompile::Ptr IceDataSource::GetComponentCompiler(const std::string & slice, const IceCompile::Deps & deps) { - return IceCompile::Ptr(new BuildClient(slice, deps)); + return std::make_shared<BuildClient>(slice, deps); } void |