Skip to content

Commit 1a502da

Browse files
[lldb] Remove an unnecessary cast (NFC) (#152642)
type is already of lldb::SymbolType.
1 parent af54757 commit 1a502da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/include/lldb/Symbol/Symbol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class Symbol : public SymbolContextScope {
167167

168168
lldb::SymbolType GetType() const { return (lldb::SymbolType)m_type; }
169169

170-
void SetType(lldb::SymbolType type) { m_type = (lldb::SymbolType)type; }
170+
void SetType(lldb::SymbolType type) { m_type = type; }
171171

172172
const char *GetTypeAsString() const;
173173

0 commit comments

Comments
 (0)