From 9a000f40854a69a2fa0f12e1d48467a1be5c6c82 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 29 May 2015 20:19:11 +0200 Subject: [PATCH] Volume: Mark ReadWiiNames parameter as const I forgot it when I added the method. --- Source/Core/DiscIO/Volume.h | 2 +- Source/Core/DiscIO/VolumeCommon.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DiscIO/Volume.h b/Source/Core/DiscIO/Volume.h index d55a425d91..26c11e678c 100644 --- a/Source/Core/DiscIO/Volume.h +++ b/Source/Core/DiscIO/Volume.h @@ -114,7 +114,7 @@ protected: return CP1252ToUTF8(string); } - static std::map ReadWiiNames(std::vector& data); + static std::map ReadWiiNames(const std::vector& data); static const size_t NUMBER_OF_LANGUAGES = 10; static const size_t NAME_STRING_LENGTH = 42; diff --git a/Source/Core/DiscIO/VolumeCommon.cpp b/Source/Core/DiscIO/VolumeCommon.cpp index cb4386af68..f503e259ca 100644 --- a/Source/Core/DiscIO/VolumeCommon.cpp +++ b/Source/Core/DiscIO/VolumeCommon.cpp @@ -57,7 +57,7 @@ std::vector IVolume::GetBanner(int* width, int* height) const return image_buffer; } -std::map IVolume::ReadWiiNames(std::vector& data) +std::map IVolume::ReadWiiNames(const std::vector& data) { std::map names; for (size_t i = 0; i < NUMBER_OF_LANGUAGES; ++i)