Explicit pointer declarations when using the auto keyword
This commit is contained in:
@@ -36,7 +36,7 @@ parent(parent) {
|
||||
for (std::size_t i = 0; i < memorySize; i++) {
|
||||
const auto address = static_cast<std::uint32_t>(startAddress + i);
|
||||
|
||||
auto byteWidget = new ByteItem(i, address, this->hoveredByteWidget);
|
||||
auto* byteWidget = new ByteItem(i, address, this->hoveredByteWidget);
|
||||
this->byteWidgetsByAddress.insert(std::pair(
|
||||
address,
|
||||
byteWidget
|
||||
|
||||
@@ -72,7 +72,7 @@ TargetMemoryInspectionPane::TargetMemoryInspectionPane(
|
||||
void TargetMemoryInspectionPane::refreshMemoryValues(std::optional<std::function<void(void)>> callback) {
|
||||
this->hexViewerWidget->refreshButton->setDisabled(true);
|
||||
|
||||
auto readMemoryTask = new ReadTargetMemory(
|
||||
auto* readMemoryTask = new ReadTargetMemory(
|
||||
this->targetMemoryDescriptor.type,
|
||||
this->targetMemoryDescriptor.addressRange.startAddress,
|
||||
this->targetMemoryDescriptor.size()
|
||||
|
||||
Reference in New Issue
Block a user