mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Hold only a const version of Settings in ProcessList
This commit is contained in:

committed by
cgzones

parent
4eb443926f
commit
a3bb7cbe64
@ -185,7 +185,7 @@ static double getpcpu(const struct kinfo_proc *kp) {
|
||||
}
|
||||
|
||||
static inline void OpenBSDProcessList_scanProcs(OpenBSDProcessList* this) {
|
||||
Settings* settings = this->super.settings;
|
||||
const Settings* settings = this->super.settings;
|
||||
bool hideKernelThreads = settings->hideKernelThreads;
|
||||
bool hideUserlandThreads = settings->hideUserlandThreads;
|
||||
struct kinfo_proc* kproc;
|
||||
|
Reference in New Issue
Block a user