changeset 33:0b852f72634b

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Jun 2020 09:29:50 +0200
parents 17a436599653
children eb09eb1251b9
files Plugin/Plugin.cpp
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/Plugin.cpp	Tue Jun 30 09:28:28 2020 +0200
+++ b/Plugin/Plugin.cpp	Tue Jun 30 09:29:50 2020 +0200
@@ -131,12 +131,8 @@
   {
     OrthancPlugins::SetGlobalContext(context);
 
-#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE)
-#  if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
+#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE)  // This indicates Orthanc framework >= 1.7.2
     Orthanc::Logging::InitializePluginContext(context);
-#  else
-    Orthanc::Logging::Initialize(context);
-#  endif
 #else
     Orthanc::Logging::Initialize(context);
 #endif