Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Thompson
SMTK
Commits
53d5dabb
Commit
53d5dabb
authored
Jan 11, 2016
by
Yumin Yuan
Browse files
Fix linux build error with ifstream constructor
parent
60be0d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
smtk/model/operators/ImportSMTKModel.cxx
View file @
53d5dabb
...
...
@@ -48,7 +48,7 @@ smtk::model::OperatorResult ImportSMTKModel::operateInternal()
}
// smtkDebugMacro("Reading a JSON file.");
std
::
ifstream
file
(
filename
);
std
::
ifstream
file
(
filename
.
c_str
()
);
if
(
!
file
.
good
())
{
smtkErrorMacro
(
this
->
log
(),
"Could not open file
\"
"
<<
filename
<<
"
\"
.
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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