Mercurial > hg > orthanc-python
diff Sources/PythonString.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 |
line wrap: on
line diff
--- a/Sources/PythonString.cpp Thu Jun 27 14:26:59 2024 +0200 +++ b/Sources/PythonString.cpp Thu Jun 27 15:52:51 2024 +0200 @@ -28,7 +28,7 @@ { if (!string_->IsValid()) { - OrthancPlugins::LogError("Cannot create a Python string, check that the string is properly encoded using UTF-8"); + ORTHANC_PLUGINS_LOG_ERROR("Cannot create a Python string, check that the string is properly encoded using UTF-8"); ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); } }