| commit | 0c54298545099a088d836e8c9d9913a18efa2ddd | [log] [tgz] |
|---|---|---|
| author | Muhammad Qureshi <[email protected]> | Sat Mar 08 21:51:09 2025 -0800 |
| committer | Muhammad Qureshi <[email protected]> | Mon Mar 10 15:43:42 2025 -0700 |
| tree | 226bcbc302079d478a6ccbb8c26300da715fb768 | |
| parent | 084c7f1ad7773e76c0ad38dacf27009b0032d3ab [diff] |
Minor code cleanups around filterValues() for field filtering - Instead of output parameter, vector<FieldValue>*, return the result as value to take advantage of Return Value Optimization. - Move fieldMatchers.empty() check inside filterValues to avoid duplicating the check at the callsites. - Get rid of unnecessary shared_ptr for GaugeAtom::mFields. Ownership is not shared. Bug: 376872102 Test: statsd_test Change-Id: Ie571bfa45c7477f81839d6120ed66c968fec0877