We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548ae00 commit f5eec04Copy full SHA for f5eec04
Profiling_tools/include/CGAL/Memory_sizer.h
@@ -121,7 +121,7 @@ struct Memory_sizer
121
size_type vsize = 0, rss = 0;
122
123
std::ifstream f("/proc/self/stat");
124
- CGAL_assertion(f);
+ CGAL_assertion(!f.bad());
125
126
f >> pid >> name >> state >> ppid >> pgrp >> session >> tty >> tpgid >> flags;
127
f >> minflt >> cminflt >> majflt >> cmajflt >> utime >> stime >> cutime;
0 commit comments