Skip to content

Commit

Permalink
Address readability-redundant-member-init warnings.
Browse files Browse the repository at this point in the history
The one warning was:

```
/w/dolphin-memory-engine/Source/MemoryScanner/MemoryScanner.cpp:30:28: warning: initializer for member 'm_resultsConsoleAddr' is redundant [readability-redundant-member-init]
   30 | MemScanner::MemScanner() : m_resultsConsoleAddr(std::vector<u32>())
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
  • Loading branch information
cristian64 committed May 4, 2024
1 parent eef92ac commit ffe1ccb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/MemoryScanner/MemoryScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ std::string addSpacesToBytesArrays(const std::string_view bytesArray)
}
} // namespace

MemScanner::MemScanner() : m_resultsConsoleAddr(std::vector<u32>())
{
}
MemScanner::MemScanner() = default;

MemScanner::~MemScanner()
{
Expand Down

0 comments on commit ffe1ccb

Please sign in to comment.