mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Pass sigPtr object as const reference too
Spotted by Coverity scan.
This commit is contained in:
parent
980f91d12e
commit
8c76a9fc3d
@ -290,7 +290,7 @@ int ForkedCall::startScript(Starttype wait, string const & what)
|
||||
}
|
||||
|
||||
|
||||
int ForkedCall::startScript(string const & what, sigPtr signal)
|
||||
int ForkedCall::startScript(string const & what, sigPtr const & signal)
|
||||
{
|
||||
command_ = commandPrep(trim(what));
|
||||
signal_ = signal;
|
||||
|
@ -177,7 +177,7 @@ public:
|
||||
int startScript(Starttype, std::string const & what);
|
||||
|
||||
///
|
||||
int startScript(std::string const & what, sigPtr ptr);
|
||||
int startScript(std::string const & what, sigPtr const & ptr);
|
||||
|
||||
private:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user