diff Framework/Radiography/RadiographySceneReader.h @ 1070:d7887f88710f broker

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 15 Oct 2019 21:28:46 +0200
parents 1e80a925323a
children bdc6837d5917
line wrap: on
line diff
--- a/Framework/Radiography/RadiographySceneReader.h	Tue Oct 15 21:11:09 2019 +0200
+++ b/Framework/Radiography/RadiographySceneReader.h	Tue Oct 15 21:28:46 2019 +0200
@@ -75,10 +75,12 @@
 
   class RadiographySceneReader : public RadiographySceneBuilder
   {
-    Deprecated::OrthancApiClient&             orthancApiClient_;
+  private:
+    boost::shared_ptr<Deprecated::OrthancApiClient>  orthancApiClient_;
 
   public:
-    RadiographySceneReader(RadiographyScene& scene, Deprecated::OrthancApiClient& orthancApiClient) :
+    RadiographySceneReader(RadiographyScene& scene,
+                           boost::shared_ptr<Deprecated::OrthancApiClient> orthancApiClient) :
       RadiographySceneBuilder(scene),
       orthancApiClient_(orthancApiClient)
     {