File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Firestore/core/test/unit/util Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ CountingFunc::CountingFunc(std::vector<std::string> chunks)
81
81
std::function<std::shared_ptr<std::string>()> CountingFunc::func (
82
82
std::string cookie) {
83
83
return [this , cookie = std::move (cookie)] {
84
- return std::make_shared<std::string>(Next (cookie));
84
+ return std::make_shared<std::string>(NextFuncReturnValue (cookie));
85
85
};
86
86
}
87
87
88
88
int CountingFunc::invocation_count () const {
89
89
return count_.load (std::memory_order_acquire);
90
90
}
91
91
92
- std::string CountingFunc::Next (const std::string& cookie) {
92
+ std::string CountingFunc::NextFuncReturnValue (const std::string& cookie) {
93
93
const int id = count_.fetch_add (1 , std::memory_order_acq_rel);
94
94
std::ostringstream ss;
95
95
for (const std::string& chunk : chunks_) {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ class CountingFunc {
97
97
std::vector<std::string> chunks_;
98
98
99
99
explicit CountingFunc (std::vector<std::string> chunks);
100
- std::string Next (const std::string& cookie);
100
+ std::string NextFuncReturnValue (const std::string& cookie);
101
101
};
102
102
103
103
/* *
You can’t perform that action at this time.
0 commit comments