chore: Use string_view for MSWindowsWatchdog::setProcessConfig
This commit is contained in:
@ -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");
|
||||
m_command = command;
|
||||
|
||||
@ -37,7 +37,7 @@ public:
|
||||
~MSWindowsWatchdog() = default;
|
||||
|
||||
void startAsync();
|
||||
void setProcessConfig(const std::string &command, bool elevate);
|
||||
void setProcessConfig(const std::string_view &command, bool elevate);
|
||||
void stop();
|
||||
bool isProcessRunning();
|
||||
void setFileLogOutputter(FileLogOutputter *outputter);
|
||||
|
||||
Reference in New Issue
Block a user