comparison 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
comparison
equal deleted inserted replaced
170:b49eeb36cd0d 171:c8de83fe7faa
26 26
27 void PythonString::SanityCheck() 27 void PythonString::SanityCheck()
28 { 28 {
29 if (!string_->IsValid()) 29 if (!string_->IsValid())
30 { 30 {
31 OrthancPlugins::LogError("Cannot create a Python string, check that the string is properly encoded using UTF-8"); 31 ORTHANC_PLUGINS_LOG_ERROR("Cannot create a Python string, check that the string is properly encoded using UTF-8");
32 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError); 32 ORTHANC_PLUGINS_THROW_EXCEPTION(InternalError);
33 } 33 }
34 } 34 }
35 35
36 36