[med-svn] r23848 - trunk/packages/insighttoolkit/trunk/debian/patches

Gert Wollny gewo at moszumanska.debian.org
Fri Jun 23 12:58:09 UTC 2017


Author: gewo
Date: 2017-06-23 12:58:08 +0000 (Fri, 23 Jun 2017)
New Revision: 23848

Added:
   trunk/packages/insighttoolkit/trunk/debian/patches/itk4.12.0-resource_cprobe.patch
Modified:
   trunk/packages/insighttoolkit/trunk/debian/patches/series
Log:
Add patch to move template method before its use

Added: trunk/packages/insighttoolkit/trunk/debian/patches/itk4.12.0-resource_cprobe.patch
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/patches/itk4.12.0-resource_cprobe.patch	                        (rev 0)
+++ trunk/packages/insighttoolkit/trunk/debian/patches/itk4.12.0-resource_cprobe.patch	2017-06-23 12:58:08 UTC (rev 23848)
@@ -0,0 +1,49 @@
+--- a/Modules/Core/Common/include/itkResourceProbe.hxx
++++ b/Modules/Core/Common/include/itkResourceProbe.hxx
+@@ -110,6 +110,22 @@
+ template< typename ValueType, typename MeanType >
+ void
+ ResourceProbe< ValueType, MeanType >
++::UpdateMinimumMaximumMeasuredValue(ValueType value)
++{
++  if(this->m_MinimumValue > value)
++    {
++    this->m_MinimumValue = value;
++    }
++
++  if(this->m_MaximumValue < value)
++    {
++    this->m_MaximumValue = value;
++    }
++}
++  
++template< typename ValueType, typename MeanType >
++void
++ResourceProbe< ValueType, MeanType >
+ ::Stop(void)
+ {
+   ValueType probevalue = this->GetInstantValue() - this->m_StartValue;
+@@ -400,23 +416,6 @@
+ }
+ 
+ 
+-template< typename ValueType, typename MeanType >
+-void
+-ResourceProbe< ValueType, MeanType >
+-::UpdateMinimumMaximumMeasuredValue(ValueType value)
+-{
+-  if(this->m_MinimumValue > value)
+-    {
+-    this->m_MinimumValue = value;
+-    }
+-
+-  if(this->m_MaximumValue < value)
+-    {
+-    this->m_MaximumValue = value;
+-    }
+-}
+-
+-
+ template< typename ValueType, typename MeanType >
+ void
+ ResourceProbe< ValueType, MeanType >

Modified: trunk/packages/insighttoolkit/trunk/debian/patches/series
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/patches/series	2017-06-23 11:20:57 UTC (rev 23847)
+++ trunk/packages/insighttoolkit/trunk/debian/patches/series	2017-06-23 12:58:08 UTC (rev 23848)
@@ -5,3 +5,4 @@
 ITKv3MultiResImageRegistrationTest_correct.patch
 itk4.10-enable-system-nifti.patch
 itk4.10.0-python-wrapping.patch
+itk4.12.0-resource_cprobe.patch




More information about the debian-med-commit mailing list