1
0
mirror of synced 2024-11-15 09:28:56 +01:00
TheChymera-overlay/sci-biology/fsl/files/fsl-5.0.11-ifstream_use.patch

14 lines
393 B
Diff
Raw Normal View History

diff --git a/src/melodic/meldata.cc b/src/melodic/meldata.cc
index f310dc7..03fe8bb 100644
--- a/src/melodic/meldata.cc
+++ b/src/melodic/meldata.cc
@@ -1015,7 +1015,7 @@ namespace Melodic{
Resels = 1.0;
in.open(logger.appendDir("smoothest").c_str(), ios::in);
- if(in>0){
+ if(in.is_open()){
for(int ctr=1; ctr<7; ctr++)
in >> str;
in.close();