mirror of
https://github.com/nasa/trick.git
synced 2025-04-15 23:16:42 +00:00
Changed streampos comparison from NULL to 0.
This commit is contained in:
parent
0a90c11541
commit
0dbdc2d7b9
@ -40,7 +40,7 @@ std::string Trick::MonteVarFile::get_next_value() {
|
||||
input_file_stream->open(this->file_name.c_str(), std::ifstream::in);
|
||||
|
||||
// If the stream position has been set, re-open file to this position.
|
||||
if(this->stream_position != NULL) {
|
||||
if(this->stream_position != 0) {
|
||||
input_file_stream->seekg(this->stream_position);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user