From 12f302930b3cd6d67f311541b04053dda12cb577 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Thu, 7 Sep 2023 20:01:53 +0200 Subject: [PATCH] Fix SonarQube issue --- cpp/devices/scsi_daynaport.cpp | 2 +- cpp/devices/scsi_daynaport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/devices/scsi_daynaport.cpp b/cpp/devices/scsi_daynaport.cpp index 90e8645df1..2ab581afb4 100644 --- a/cpp/devices/scsi_daynaport.cpp +++ b/cpp/devices/scsi_daynaport.cpp @@ -302,7 +302,7 @@ void SCSIDaynaPort::TestUnitReady() EnterStatusPhase(); } -void SCSIDaynaPort::Read6() +void SCSIDaynaPort::Read6() const { // Get record number and block number const uint32_t record = GetInt24(GetController()->GetCmd(), 1) & 0x1fffff; diff --git a/cpp/devices/scsi_daynaport.h b/cpp/devices/scsi_daynaport.h index 2f4530a180..b703e48db2 100644 --- a/cpp/devices/scsi_daynaport.h +++ b/cpp/devices/scsi_daynaport.h @@ -60,7 +60,7 @@ class SCSIDaynaPort : public PrimaryDevice, public ByteWriter int RetrieveStats(span, vector&) const; void TestUnitReady() override; - void Read6(); + void Read6() const; void Write6() const; void RetrieveStatistics() const; void SetInterfaceMode() const;