fix: dont break abi

This commit is contained in:
nnyyxxxx 2024-12-25 02:03:18 -05:00
parent 0d4114d675
commit 03449809a6
No known key found for this signature in database
GPG key ID: 6038FFD6589902CB
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;
}