mirror of
https://github.com/google/benchmark.git
synced 2024-11-28 05:44:40 +00:00
fix typo in README (#844)
This commit is contained in:
parent
66482d538d
commit
140db8a229
|
@ -1088,7 +1088,7 @@ static void BM_test(benchmark::State& state) {
|
||||||
state.SkipWithError("Resource is not good!");
|
state.SkipWithError("Resource is not good!");
|
||||||
// KeepRunning() loop will not be entered.
|
// KeepRunning() loop will not be entered.
|
||||||
}
|
}
|
||||||
for (state.KeepRunning()) {
|
while (state.KeepRunning()) {
|
||||||
auto data = resource.read_data();
|
auto data = resource.read_data();
|
||||||
if (!resource.good()) {
|
if (!resource.good()) {
|
||||||
state.SkipWithError("Failed to read data!");
|
state.SkipWithError("Failed to read data!");
|
||||||
|
|
Loading…
Reference in a new issue