Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
ParaView
Commits
a0db130f
Commit
a0db130f
authored
Aug 15, 2019
by
Utkarsh Ayachit
⛰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtkCSVWriter: fix build issues.
parent
809ca595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ParaViewCore/VTKExtensions/Default/vtkCSVWriter.cxx
ParaViewCore/VTKExtensions/Default/vtkCSVWriter.cxx
+7
-1
No files found.
ParaViewCore/VTKExtensions/Default/vtkCSVWriter.cxx
View file @
a0db130f
...
...
@@ -193,6 +193,8 @@ class vtkCSVWriter::CSVFile
std
::
vector
<
std
::
pair
<
std
::
string
,
int
>
>
ColumnInfo
;
public:
CSVFile
()
=
default
;
int
Open
(
const
char
*
filename
)
{
if
(
!
filename
)
...
...
@@ -200,7 +202,7 @@ public:
return
vtkErrorCode
::
NoFileNameError
;
}
this
->
Stream
=
ofstream
(
filename
,
ios
::
out
);
this
->
Stream
.
open
(
filename
,
ios
::
out
);
if
(
this
->
Stream
.
fail
())
{
return
vtkErrorCode
::
CannotOpenFileError
;
...
...
@@ -286,6 +288,10 @@ public:
this
->
Stream
<<
"
\n
"
;
}
}
private:
CSVFile
(
const
CSVFile
&
)
=
delete
;
void
operator
=
(
const
CSVFile
&
)
=
delete
;
};
//-----------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment