From f25a0a4a814f17a6afaa0303e8d562be8d88ae1b Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Fri, 2 Aug 2024 11:10:20 -0400 Subject: [PATCH] Device: Remove const from bool return type --- device/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/device.cpp b/device/device.cpp index 2b689ef..a1d61a2 100644 --- a/device/device.cpp +++ b/device/device.cpp @@ -2116,7 +2116,7 @@ bool Device::readVSA(const VSAExtractionSettings& extractionSettings) { if(isOnline()) { goOffline(); } - auto innerReadVSA = [&](uint64_t diskSize) -> const bool { + auto innerReadVSA = [&](uint64_t diskSize) -> bool { // Adjust driver to offset to start of VSA file const auto& offset = getVSAOffsetInLogicalDisk(); if(!offset) {