Commit 57222585 authored by Manuel Moos's avatar Manuel Moos
Browse files

Revert "Fall back to old style initialization"

This reverts commit c963260e.
parent beff17fc
Pipeline #355489623 passed with stages
in 37 minutes and 52 seconds
......@@ -728,7 +728,7 @@ tMemManager::tMemManager(int s):size(s){//,blocks(1000),full_blocks(1000){
std::ifstream l(leakname);
while (l.good() && !l.eof()){
int cs = -1,ln = 0;
int cs{-1},ln{0};
l >> cs >> ln;
if (cs>=0 && cs < MAXCHECKSUM && (ln < leaks[cs] || leaks[cs] == 0))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment