Make codebase consistent with design.md
This commit is contained in:
@@ -469,7 +469,7 @@ int main() {
|
||||
CommitRequest request;
|
||||
JsonCommitRequestParser parser;
|
||||
std::string mutable_json = SIMPLE_JSON;
|
||||
bool result =
|
||||
auto result =
|
||||
parser.parse(request, mutable_json.data(), mutable_json.size());
|
||||
ankerl::nanobench::doNotOptimizeAway(result);
|
||||
ankerl::nanobench::doNotOptimizeAway(request.leader_id());
|
||||
@@ -550,7 +550,7 @@ int main() {
|
||||
CommitRequest request;
|
||||
JsonCommitRequestParser parser;
|
||||
std::string mutable_json = MEDIUM_JSON;
|
||||
bool result =
|
||||
auto result =
|
||||
parser.parse(request, mutable_json.data(), mutable_json.size());
|
||||
ankerl::nanobench::doNotOptimizeAway(result);
|
||||
ankerl::nanobench::doNotOptimizeAway(request.leader_id());
|
||||
@@ -631,7 +631,7 @@ int main() {
|
||||
CommitRequest request;
|
||||
JsonCommitRequestParser parser;
|
||||
std::string mutable_json = COMPLEX_JSON;
|
||||
bool result =
|
||||
auto result =
|
||||
parser.parse(request, mutable_json.data(), mutable_json.size());
|
||||
ankerl::nanobench::doNotOptimizeAway(result);
|
||||
ankerl::nanobench::doNotOptimizeAway(request.leader_id());
|
||||
@@ -715,7 +715,7 @@ int main() {
|
||||
CommitRequest request;
|
||||
JsonCommitRequestParser parser;
|
||||
std::string mutable_json = large_json;
|
||||
bool result =
|
||||
auto result =
|
||||
parser.parse(request, mutable_json.data(), mutable_json.size());
|
||||
ankerl::nanobench::doNotOptimizeAway(result);
|
||||
ankerl::nanobench::doNotOptimizeAway(request.leader_id());
|
||||
|
||||
Reference in New Issue
Block a user