mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-21 00:26:16 +00:00
clang-tidy: use default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Jari Sundell
parent
3ab38583b8
commit
897a6face2
@@ -52,8 +52,6 @@ class Lockfile {
|
||||
public:
|
||||
typedef std::pair<std::string, pid_t> process_type;
|
||||
|
||||
Lockfile() : m_locked(false) {}
|
||||
|
||||
bool is_locked() const { return m_locked; }
|
||||
bool is_stale();
|
||||
|
||||
@@ -70,7 +68,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string m_path;
|
||||
bool m_locked;
|
||||
bool m_locked{};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user