Add missing header for std::ostringstream
This adds the <sstream>
header for std::ostringstream
. Without it, I get the error message below.
16:55:10 /Users/builder/src/ParaView-master-source/ParaViewCore/ServerManager/Rendering/vtkSMTransferFunctionProxy.cxx:916:24: error: implicit instantiation of undefined template 'std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >'
16:55:10 std::ostringstream prefix;
16:55:10 ^
16:55:10 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:123:33: note: template is declared here
16:55:10 class _LIBCPP_TYPE_VIS_ONLY basic_ostringstream;
16:55:10 ^
16:55:10 [ 81%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkPVServerManagerCorePythonD.dir/vtkSMDoubleVectorPropertyPython.cxx.o
16:55:10 1 error generated.
16:55:10 make[2]: *** [ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMTransferFunctionProxy.cxx.o] Error 1
16:55:10 make[2]: *** Waiting for unfinished jobs...
I also changed the C header math.h
to the C++ alternative cmath
.