mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-29 12:03:53 +00:00
Fixed bug in async_bench
This commit is contained in:
parent
1f4cae4bf7
commit
1808e3c4c8
@ -35,6 +35,7 @@ int count_lines(const char *filename)
|
|||||||
if ('\n' == ch)
|
if ('\n' == ch)
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
fclose(infile);
|
||||||
|
|
||||||
return counter;
|
return counter;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user