Import 2017-06-07 23:51:09: master 0d6272a4

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-11-18 11:54:14 master 3b6813a8
Changeset

COMP: vtkMRMLColorLogic: Fix VS2013 build error

On Visual Studio 2013 it's necessary to add the following to
vtkMRMLColorLogic.cxx:

to fix the following errors:

C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1452): error C2039: 'not1' : is not a member of 'std'
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1452): error C2039: 'ptr_fun' : is not a member of 'std'
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1452): error C2065: 'ptr_fun' : undeclared identifier
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1452): error C2062: type 'int' unexpected
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1454): error C2039: 'not1' : is not a member of 'std'
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1454): error C2039: 'ptr_fun' : is not a member of 'std'
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1454): error C2065: 'ptr_fun' : undeclared identifier
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1454): error C2062: type 'int' unexpected
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1452): error C3861: 'not1': identifier not found
C:\path\to\Slicer\Libs\MRML\Logic\vtkMRMLColorLogic.cxx(1454): error C3861: 'not1': identifier not found

Tested-by: Andriy Fedorov <fedorov@bwh.harvard.edu>

From: Max Smolens <max.smolens@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24751 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Logic/vtkMRMLColorLogic.cxx Diff File