mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-05-12 21:30:36 +01:00
fix: dont break abi
This commit is contained in:
parent
0d4114d675
commit
03449809a6
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ namespace Hyprutils {
|
|||
const std::string& stdErr();
|
||||
|
||||
// only populated when ran async
|
||||
const pid_t& pid();
|
||||
const pid_t pid();
|
||||
|
||||
private:
|
||||
std::string binary, out, err;
|
||||
|
|
|
@ -225,6 +225,6 @@ const std::string& Hyprutils::OS::CProcess::stdErr() {
|
|||
return err;
|
||||
}
|
||||
|
||||
const pid_t& Hyprutils::OS::CProcess::pid() {
|
||||
const pid_t Hyprutils::OS::CProcess::pid() {
|
||||
return grandchildPid;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue