diff options
| author | Kazu Hirata <kazu@google.com> | 2022-01-02 22:44:15 -0800 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-01-02 22:44:16 -0800 |
| commit | a3436f7340cb5bdb9dddf2b6b3e72ca6cf9f7e22 (patch) | |
| tree | ab36bef64c2d362ece8e7d07bff710305dd14635 /lldb/source/API/SBSourceManager.cpp | |
| parent | 1461bd13c91b78cc20b097e3dd9231f52f96ece0 (diff) | |
[API] Remove redundant member initialization (NFC)
Identified with readability-redundant-member-init.
Diffstat (limited to 'lldb/source/API/SBSourceManager.cpp')
| -rw-r--r-- | lldb/source/API/SBSourceManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/API/SBSourceManager.cpp b/lldb/source/API/SBSourceManager.cpp index 43c3443672f7..5241d054e274 100644 --- a/lldb/source/API/SBSourceManager.cpp +++ b/lldb/source/API/SBSourceManager.cpp @@ -24,10 +24,9 @@ namespace lldb_private { class SourceManagerImpl { public: SourceManagerImpl(const lldb::DebuggerSP &debugger_sp) - : m_debugger_wp(debugger_sp), m_target_wp() {} + : m_debugger_wp(debugger_sp) {} - SourceManagerImpl(const lldb::TargetSP &target_sp) - : m_debugger_wp(), m_target_wp(target_sp) {} + SourceManagerImpl(const lldb::TargetSP &target_sp) : m_target_wp(target_sp) {} SourceManagerImpl(const SourceManagerImpl &rhs) { if (&rhs == this) |
