summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/Storage
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source/Storage')
-rw-r--r--Private/Source/Storage/ATADeviceInterface.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/Private/Source/Storage/ATADeviceInterface.cxx b/Private/Source/Storage/ATADeviceInterface.cxx
index 89f11f5d..d70a03f0 100644
--- a/Private/Source/Storage/ATADeviceInterface.cxx
+++ b/Private/Source/Storage/ATADeviceInterface.cxx
@@ -28,17 +28,17 @@ ATADeviceInterface::~ATADeviceInterface() {
const char* ATADeviceInterface::Name() const { return "ATADeviceInterface"; }
/// @brief Output operator.
-/// @param Data
-/// @return
+/// @param Data
+/// @return
ATADeviceInterface& ATADeviceInterface::operator<<(MountpointInterface* Data) {
if (!Data) return *this;
for (SizeT driveCount = 0; driveCount < kDriveManagerCount; ++driveCount) {
auto interface = Data->GetAddressOf(driveCount);
- if ((*interface) && rt_string_cmp((*interface)->fDriveKind(), "ATA-", 5) == 0) {
+ if ((interface) && rt_string_cmp((interface)->fDriveKind(), "ATA-", 5) == 0) {
continue;
- } else if ((*interface) &&
- rt_string_cmp((*interface)->fDriveKind(), "ATA-", 5) != 0) {
+ } else if ((interface) &&
+ rt_string_cmp((interface)->fDriveKind(), "ATA-", 5) != 0) {
return *this;
}
}
@@ -48,21 +48,21 @@ ATADeviceInterface& ATADeviceInterface::operator<<(MountpointInterface* Data) {
}
/// @brief Input operator.
-/// @param Data
-/// @return
+/// @param Data
+/// @return
ATADeviceInterface& ATADeviceInterface::operator>>(MountpointInterface* Data) {
if (!Data) return *this;
for (SizeT driveCount = 0; driveCount < kDriveManagerCount; ++driveCount) {
auto interface = Data->GetAddressOf(driveCount);
- if ((*interface) && rt_string_cmp((*interface)->fDriveKind(), "ATA-", 5) == 0) {
+ if ((interface) && rt_string_cmp((interface)->fDriveKind(), "ATA-", 5) == 0) {
continue;
- } else if ((*interface) &&
- rt_string_cmp((*interface)->fDriveKind(), "ATA-", 5) != 0) {
+ } else if ((interface) &&
+ rt_string_cmp((interface)->fDriveKind(), "ATA-", 5) != 0) {
return *this;
}
}
return (ATADeviceInterface&)DeviceInterface<MountpointInterface*>::operator>>(
Data);
-} \ No newline at end of file
+}