From 81fcea1950a22b9850eaac3d5c8bda88b0abe9cf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 12 Feb 2007 01:00:52 +0000 Subject: [PATCH] const --- stepmania/src/BannerCache.cpp | 2 +- stepmania/src/TitleSubstitution.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BannerCache.cpp b/stepmania/src/BannerCache.cpp index 6391f6272c..1b3c3663a6 100644 --- a/stepmania/src/BannerCache.cpp +++ b/stepmania/src/BannerCache.cpp @@ -68,7 +68,7 @@ void BannerCache::Demand() if( PREFSMAN->m_BannerCache != BNCACHE_LOW_RES_LOAD_ON_DEMAND ) return; - FOREACH_Child( &BannerData, p ) + FOREACH_CONST_Child( &BannerData, p ) { RString sBannerPath = p->GetName(); diff --git a/stepmania/src/TitleSubstitution.cpp b/stepmania/src/TitleSubstitution.cpp index e6b48ff089..3abcdbd7b9 100644 --- a/stepmania/src/TitleSubstitution.cpp +++ b/stepmania/src/TitleSubstitution.cpp @@ -146,7 +146,7 @@ void TitleSubst::Load(const RString &filename, const RString §ion) XNode *pGroup = xml.GetChild( section ); if( pGroup == NULL ) return; - FOREACH_Child( pGroup, child ) + FOREACH_CONST_Child( pGroup, child ) { if( child->GetName() != "Translation" ) continue;