comparison Framework/Layers/LayerSourceBase.cpp @ 91:81f73efd81a1 wasm

cleaning up
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 May 2017 11:18:35 +0200
parents 64e60018943f
children 7b14c12a3be5
comparison
equal deleted inserted replaced
90:64e60018943f 91:81f73efd81a1
76 { 76 {
77 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); 77 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange);
78 } 78 }
79 79
80 LayerReadyFunctor functor(layer, slice); 80 LayerReadyFunctor functor(layer, slice);
81 observers_.Notify(this, functor); 81 observers_.Notify(*this, functor);
82 } 82 }
83 83
84 void LayerSourceBase::NotifyLayerError(const SliceGeometry& slice) 84 void LayerSourceBase::NotifyLayerError(const SliceGeometry& slice)
85 { 85 {
86 observers_.Apply(*this, &IObserver::NotifyLayerError, slice); 86 observers_.Apply(*this, &IObserver::NotifyLayerError, slice);