chore: 修改静态检查报错

修改静态检查报错

Log:
Influence: 修复gerrit static-vefified -1 报错
Task: https://pms.uniontech.com/task-view-157871.html
Change-Id: I491e7fa7403170e66fb18ca35fa3e31519aa54d5
This commit is contained in:
songwentao
2022-07-21 15:59:37 +08:00
parent d6a7ca131a
commit 7667dbc05a
8 changed files with 56 additions and 42 deletions

View File

@ -31,8 +31,9 @@
class ProcessInfo
{
public:
ProcessInfo(int pid);
ProcessInfo(std::vector<std::string> &cmd);
explicit ProcessInfo(int pid);
explicit ProcessInfo(std::vector<std::string> &cmd);
virtual ~ProcessInfo();
std::string getEnv(std::string key);
std::vector<std::string> getCmdLine();