]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/vtk-dicom/std.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / vtk-dicom / std.patch
1 diff --git a/Source/vtkScancoCTReader.cxx b/Source/vtkScancoCTReader.cxx
2 index a71f2e46e..afe202ffc 100644
3 --- a/Source/vtkScancoCTReader.cxx
4 +++ b/Source/vtkScancoCTReader.cxx
5 @@ -176,7 +176,7 @@ int vtkScancoCTReader::CheckVersion(const char header[16])
6 //----------------------------------------------------------------------------
7 int vtkScancoCTReader::CanReadFile(const char *filename)
8 {
9 - ifstream infile(filename, ios::in | ios::binary);
10 + std::ifstream infile(filename, ios::in | ios::binary);
11
12 bool canRead = false;
13 if (infile.good())
14 @@ -409,7 +409,7 @@ void vtkScancoCTReader::StripString(char *dest, const char *cp, size_t l)
15 }
16
17 //----------------------------------------------------------------------------
18 -int vtkScancoCTReader::ReadISQHeader(ifstream *file, unsigned long bytesRead)
19 +int vtkScancoCTReader::ReadISQHeader(std::ifstream *file, unsigned long bytesRead)
20 {
21 if (bytesRead < 512)
22 {
23 @@ -620,7 +620,7 @@ int vtkScancoCTReader::ReadISQHeader(ifstream *file, unsigned long bytesRead)
24 }
25
26 //----------------------------------------------------------------------------
27 -int vtkScancoCTReader::ReadAIMHeader(ifstream *file, unsigned long bytesRead)
28 +int vtkScancoCTReader::ReadAIMHeader(std::ifstream *file, unsigned long bytesRead)
29 {
30 if (bytesRead < 160)
31 {
32 @@ -987,7 +987,7 @@ int vtkScancoCTReader::RequestInformation(
33 const char *ufilename = filename;
34 #endif
35
36 - ifstream infile(ufilename, ios::in | ios::binary);
37 + std::ifstream infile(ufilename, ios::in | ios::binary);
38 if (!infile.good())
39 {
40 vtkErrorMacro("Cannot open file " << filename);
41 @@ -1115,7 +1115,7 @@ int vtkScancoCTReader::RequestData(
42 static_cast<unsigned char *>(data->GetScalarPointer());
43
44 // open the file
45 - ifstream infile(filename, ios::in | ios::binary);
46 + std::ifstream infile(filename, ios::in | ios::binary);
47 if (!infile.good())
48 {
49 vtkErrorMacro("Cannot open file " << filename);
50 diff --git a/Source/vtkScancoCTReader.h b/Source/vtkScancoCTReader.h
51 index ca31d7572..240d532f2 100644
52 --- a/Source/vtkScancoCTReader.h
53 +++ b/Source/vtkScancoCTReader.h
54 @@ -34,6 +34,7 @@
55 #ifndef vtkScancoCTReader_h
56 #define vtkScancoCTReader_h
57
58 +#include <iosfwd>
59 #include "vtkImageReader2.h"
60 #include "vtkDICOMModule.h" // For export macro
61 #include "vtkDICOMConfig.h" // For configuration details
62 @@ -185,10 +186,10 @@ protected:
63 void InitializeHeader();
64
65 //! Read an ISQ header.
66 - int ReadISQHeader(ifstream *file, unsigned long bytesRead);
67 + int ReadISQHeader(std::ifstream *file, unsigned long bytesRead);
68
69 //! Read AIM header.
70 - int ReadAIMHeader(ifstream *file, unsigned long bytesRead);
71 + int ReadAIMHeader(std::ifstream *file, unsigned long bytesRead);
72
73 //! Check the file header to see what type of file it is.
74 /*!