ncm: make storage list const

This commit is contained in:
Adubbz 2020-05-18 18:01:47 +10:00
parent 1d1e865efa
commit 0d4221ad5f

View File

@ -37,7 +37,7 @@ namespace ams::ncm {
const auto key = reader.GetKey(); const auto key = reader.GetKey();
/* Obtain a list of suitable storage ids. */ /* Obtain a list of suitable storage ids. */
auto storage_list = GetStorageList(this->GetInstallStorage()); const auto storage_list = GetStorageList(this->GetInstallStorage());
/* Iterate over storage ids. */ /* Iterate over storage ids. */
for (s32 i = 0; i < storage_list.Count(); i++) { for (s32 i = 0; i < storage_list.Count(); i++) {