summaryrefslogtreecommitdiff
path: root/project2/ice/iceDaemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/ice/iceDaemon.cpp')
-rw-r--r--project2/ice/iceDaemon.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/project2/ice/iceDaemon.cpp b/project2/ice/iceDaemon.cpp
index 01acb36..7dcf298 100644
--- a/project2/ice/iceDaemon.cpp
+++ b/project2/ice/iceDaemon.cpp
@@ -62,12 +62,12 @@ IceDaemon::run() const
{
Logger()->messagebf(LOG_INFO, ">>> %s compiling slice '%s'...", __PRETTY_FUNCTION__, slice);
- BuildComms bc(slice);
- BuildShared bds(slice, { &bc });
- BuildDaemon bd(slice, { &bds });
- bd.Update();
+ IceCompile::CPtr bc(new BuildComms(slice));
+ IceCompile::CPtr bds(new BuildShared(slice, { bc }));
+ IceCompile::CPtr bd(new BuildDaemon(slice, { bds }));
+ bd->Update();
- auto library = bd.Open();
+ auto library = bd->Open();
Logger()->messagebf(LOG_INFO, " %s starting...", __PRETTY_FUNCTION__);
Ice::ObjectAdapterPtr adapter = ic->createObjectAdapterWithEndpoints(adapterName, adapterEndpoint);