comparison Applications/Generic/NativeStoneApplicationRunner.cpp @ 1073:8d3936f06541 broker

fix for older gcc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Oct 2019 11:27:51 +0200
parents 04a95ee91327
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1070:d7887f88710f 1073:8d3936f06541
34 #include <Core/HttpClient.h> 34 #include <Core/HttpClient.h>
35 #include <Core/Toolbox.h> 35 #include <Core/Toolbox.h>
36 #include <Core/OrthancException.h> 36 #include <Core/OrthancException.h>
37 #include <Plugins/Samples/Common/OrthancHttpConnection.h> 37 #include <Plugins/Samples/Common/OrthancHttpConnection.h>
38 38
39 #include <boost/make_shared.hpp>
40 #include <boost/program_options.hpp> 39 #include <boost/program_options.hpp>
41 40
42 namespace OrthancStone 41 namespace OrthancStone
43 { 42 {
44 // Anonymous namespace to avoid clashes against other compilation modules 43 // Anonymous namespace to avoid clashes against other compilation modules
205 // download content 204 // download content
206 Deprecated::Oracle oracle(6); 205 Deprecated::Oracle oracle(6);
207 oracle.Start(); 206 oracle.Start();
208 207
209 { 208 {
210 context.SetWebService(boost::make_shared<Deprecated::OracleWebService>(oracle, webServiceParameters, context)); 209 boost::shared_ptr<Deprecated::OracleWebService> webService
210 (new Deprecated::OracleWebService(oracle, webServiceParameters, context));
211 context.SetWebService(webService);
211 context.SetOrthancBaseUrl(webServiceParameters.GetUrl()); 212 context.SetOrthancBaseUrl(webServiceParameters.GetUrl());
212 213
213 Deprecated::OracleDelayedCallExecutor delayedExecutor(oracle, context); 214 Deprecated::OracleDelayedCallExecutor delayedExecutor(oracle, context);
214 context.SetDelayedCallExecutor(delayedExecutor); 215 context.SetDelayedCallExecutor(delayedExecutor);
215 216