mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 23:31:26 +12:00
Fixed some formatting issues.
This commit is contained in:
parent
ba0b34db3f
commit
e70dbc1bce
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
||||||
|
// clang-format off
|
||||||
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
|
/* Copyright 2021 Aristocratos (jakob@qvantnet.com)
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
@ -15,7 +16,6 @@
|
||||||
indent = tab
|
indent = tab
|
||||||
tab-size = 4
|
tab-size = 4
|
||||||
*/
|
*/
|
||||||
// clang-format off
|
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
|
@ -1505,7 +1505,7 @@ namespace Proc {
|
||||||
vector<size_t> found;
|
vector<size_t> found;
|
||||||
for (const auto& d: fs::directory_iterator(Shared::procPath)) {
|
for (const auto& d: fs::directory_iterator(Shared::procPath)) {
|
||||||
if (Runner::stopping)
|
if (Runner::stopping)
|
||||||
return current_procs;
|
return current_procs;
|
||||||
if (pread.is_open()) pread.close();
|
if (pread.is_open()) pread.close();
|
||||||
|
|
||||||
const string pid_str = d.path().filename();
|
const string pid_str = d.path().filename();
|
||||||
|
|
Loading…
Reference in a new issue