Mercurial > hg > orthanc-python
comparison Sources/PythonObject.cpp @ 171:c8de83fe7faa
removed deprecation warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Jun 2024 15:52:51 +0200 |
parents | 6fada29b6759 |
children | 3678a028f1f6 |
comparison
equal
deleted
inserted
replaced
170:b49eeb36cd0d | 171:c8de83fe7faa |
---|---|
128 object_ = NULL; | 128 object_ = NULL; |
129 return value; | 129 return value; |
130 } | 130 } |
131 else | 131 else |
132 { | 132 { |
133 OrthancPlugins::LogError("Cannot release a NULL or borrowed reference"); | 133 ORTHANC_PLUGINS_LOG_ERROR("Cannot release a NULL or borrowed reference"); |
134 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); | 134 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); |
135 } | 135 } |
136 } | 136 } |
137 | 137 |
138 | 138 |