mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Minor changes based on cppcheck output.
This commit is contained in:
parent
62ac53563c
commit
4ce7b0e9ef
6 changed files with 10 additions and 5 deletions
8
Daemon.h
8
Daemon.h
|
@ -53,6 +53,8 @@ namespace i2p
|
|||
class DaemonLinux : public Daemon_Singleton
|
||||
{
|
||||
public:
|
||||
DeamonLinux() = default;
|
||||
|
||||
static DaemonLinux& Instance()
|
||||
{
|
||||
static DaemonLinux instance;
|
||||
|
@ -61,9 +63,9 @@ namespace i2p
|
|||
|
||||
virtual bool start();
|
||||
virtual bool stop();
|
||||
private:
|
||||
std::string pidfile;
|
||||
int pidFilehandle;
|
||||
private:
|
||||
std::string pidfile;
|
||||
int pidFilehandle;
|
||||
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue