comparison OrthancServer/Sources/ServerContext.h @ 4204:318c16cfccab

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 16:18:01 +0200
parents 37310bb1cd30
children d962a2996637
comparison
equal deleted inserted replaced
4203:4d42408da117 4204:318c16cfccab
94 { 94 {
95 private: 95 private:
96 ServerContext& context_; 96 ServerContext& context_;
97 97
98 public: 98 public:
99 LuaServerListener(ServerContext& context) : 99 explicit LuaServerListener(ServerContext& context) :
100 context_(context) 100 context_(context)
101 { 101 {
102 } 102 }
103 103
104 virtual void SignalStoredInstance(const std::string& publicId, 104 virtual void SignalStoredInstance(const std::string& publicId,
124 { 124 {
125 private: 125 private:
126 ServerContext& context_; 126 ServerContext& context_;
127 127
128 public: 128 public:
129 DicomCacheProvider(ServerContext& context) : context_(context) 129 explicit DicomCacheProvider(ServerContext& context) : context_(context)
130 { 130 {
131 } 131 }
132 132
133 virtual IDynamicObject* Provide(const std::string& id); 133 virtual IDynamicObject* Provide(const std::string& id) ORTHANC_OVERRIDE;
134 }; 134 };
135 135
136 class ServerListener 136 class ServerListener
137 { 137 {
138 private: 138 private: