fix typo in README (#844)

This commit is contained in:
Xinye Tao 2019-07-30 14:03:15 +08:00 committed by Roman Lebedev
parent 66482d538d
commit 140db8a229
1 changed files with 1 additions and 1 deletions

View File

@ -1088,7 +1088,7 @@ static void BM_test(benchmark::State& state) {
state.SkipWithError("Resource is not good!");
// KeepRunning() loop will not be entered.
}
for (state.KeepRunning()) {
while (state.KeepRunning()) {
auto data = resource.read_data();
if (!resource.good()) {
state.SkipWithError("Failed to read data!");