mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +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));
|
command_ = commandPrep(trim(what));
|
||||||
signal_ = signal;
|
signal_ = signal;
|
||||||
|
@ -177,7 +177,7 @@ public:
|
|||||||
int startScript(Starttype, std::string const & what);
|
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:
|
private:
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user