mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed bug in async_bench
This commit is contained in:
@@ -35,6 +35,7 @@ int count_lines(const char *filename)
|
|||||||
if ('\n' == ch)
|
if ('\n' == ch)
|
||||||
counter++;
|
counter++;
|
||||||
}
|
}
|
||||||
|
fclose(infile);
|
||||||
|
|
||||||
return counter;
|
return counter;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user