From c79403e1341ac533df1771b866d1f5cee15e12b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Aug 2012 01:59:04 +0300 Subject: Add const to more classes. --- src/gui/setup_audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/setup_audio.cpp') diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp index c5efa63ad..b649bc23d 100644 --- a/src/gui/setup_audio.cpp +++ b/src/gui/setup_audio.cpp @@ -145,7 +145,7 @@ void Setup_Audio::apply() sound.init(); if (viewport && config.getBoolValue("playMusic")) { - Map *map = viewport->getMap(); + const Map *const map = viewport->getMap(); if (map) sound.playMusic(map->getMusicFile()); } -- cgit v1.2.3-70-g09d2