chore: Use string_view for MSWindowsWatchdog::setProcessConfig
This commit is contained in:
parent
48e1c43a01
commit
40fefb9369
2 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ void MSWindowsWatchdog::startProcess()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MSWindowsWatchdog::setProcessConfig(const std::string &command, bool elevate)
|
void MSWindowsWatchdog::setProcessConfig(const std::string_view &command, bool elevate)
|
||||||
{
|
{
|
||||||
LOG_DEBUG("watchdog process config updated");
|
LOG_DEBUG("watchdog process config updated");
|
||||||
m_command = command;
|
m_command = command;
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ public:
|
||||||
~MSWindowsWatchdog() = default;
|
~MSWindowsWatchdog() = default;
|
||||||
|
|
||||||
void startAsync();
|
void startAsync();
|
||||||
void setProcessConfig(const std::string &command, bool elevate);
|
void setProcessConfig(const std::string_view &command, bool elevate);
|
||||||
void stop();
|
void stop();
|
||||||
bool isProcessRunning();
|
bool isProcessRunning();
|
||||||
void setFileLogOutputter(FileLogOutputter *outputter);
|
void setFileLogOutputter(FileLogOutputter *outputter);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue