Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
02a76389
Commit
02a76389
authored
Jan 01, 2004
by
Ken Martin
Browse files
hopefully fix a warning
parent
ffdf297b
Changes
1
Hide whitespace changes
Inline
Side-by-side
IO/vtkMetaImageWriter.cxx
View file @
02a76389
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
vtkCxxRevisionMacro
(
vtkMetaImageWriter
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkMetaImageWriter
,
"1.
3
"
);
vtkStandardNewMacro
(
vtkMetaImageWriter
);
vtkStandardNewMacro
(
vtkMetaImageWriter
);
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
...
@@ -98,7 +98,7 @@ void vtkMetaImageWriter::Write()
...
@@ -98,7 +98,7 @@ void vtkMetaImageWriter::Write()
delete
[]
rfname
;
delete
[]
rfname
;
}
}
ofstream
ofs
(
this
->
MHDFileName
);
ofstream
ofs
(
this
->
MHDFileName
,
ios
::
out
);
if
(
!
ofs
)
if
(
!
ofs
)
{
{
vtkErrorMacro
(
"Cannot open file: "
<<
this
->
MHDFileName
<<
" for writing"
);
vtkErrorMacro
(
"Cannot open file: "
<<
this
->
MHDFileName
<<
" for writing"
);
...
...
Write
Preview
Supports
Markdown
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