diff options
Diffstat (limited to 'base/process_linux.cc')
-rw-r--r-- | base/process_linux.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/process_linux.cc b/base/process_linux.cc index cb413e1..9f69596 100644 --- a/base/process_linux.cc +++ b/base/process_linux.cc @@ -107,9 +107,7 @@ bool Process::SetProcessBackgrounded(bool background) { } struct CheckForNicePermission { - bool can_reraise_priority; - - CheckForNicePermission() { + CheckForNicePermission() : can_reraise_priority(false) { // We won't be able to raise the priority if we don't have the right rlimit. // The limit may be adjusted in /etc/security/limits.conf for PAM systems. struct rlimit rlim; @@ -118,6 +116,8 @@ struct CheckForNicePermission { can_reraise_priority = true; } }; + + bool can_reraise_priority; }; // static |