diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-08-10 01:39:58 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-08-10 01:42:07 +0000 |
| commit | 880865783d9c3b807a26f4ea8ab3ef6ce1ca6ff8 (patch) | |
| tree | a44cfb2439b664a303a5eb7973b39473c58186ef | |
| parent | 2f1d9ab96214db2ec6ce30c44b55a89a7eaa8f6a (diff) | |
pmc(8): revert unnecessary lvalue reference change from prior commit
I need to do more work before references can be accepted in other
sections of the code. This was an unnecessary drive-by change that was
not tested in `make universe`.
Reported by: CI
Fixes: fd809148 ("pmc(8): resolve -Wshadow issues")
| -rw-r--r-- | usr.sbin/pmc/view.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmc/view.hh b/usr.sbin/pmc/view.hh index 9a0702c08803..b1e04a73e130 100644 --- a/usr.sbin/pmc/view.hh +++ b/usr.sbin/pmc/view.hh @@ -73,7 +73,7 @@ struct pmcinfo struct pmcinfox { pmcinfox() : rate(0), event() { } - pmcinfox(uint32_t rate_, std::string &event_) : rate(rate_), event(event_) { } + pmcinfox(uint32_t rate_, std::string event_) : rate(rate_), event(event_) { } ~pmcinfox() { } uint32_t rate; std::string event; |
