ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/io/RestReader.hpp
(Generate patch)

Comparing branches/development/src/io/RestReader.hpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1794 by gezelter, Thu Sep 6 19:44:06 2012 UTC

# Line 68 | Line 68 | namespace OpenMD {
68        if (worldRank == 0) {
69   #endif
70          
71 <        inFile_ = new std::ifstream(filename_.c_str());
71 >        inFile_ = new std::ifstream(filename_.c_str(),
72 >                                    ifstream::in | ifstream::binary);
73          
74          if (inFile_->fail()) {
75            sprintf(painCave.errMsg,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines