diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/pipeline.cpp | 6 | ||||
-rw-r--r-- | indra/newview/pipeline.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index e7123e24d2..7299f73add 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -10140,12 +10140,12 @@ void LLPipeline::hidePermanentObjects( std::vector<U32>& restoreList ) } } -void LLPipeline::restorePermanentObjects( std::vector<U32>& restoreList ) +void LLPipeline::restorePermanentObjects( const std::vector<U32>& restoreList ) { //This method is used to restore(unhide) any vo's from the object list that may have //been hidden because their permanency flag was set. - std::vector<U32>::iterator itCurrent = restoreList.begin(); - std::vector<U32>::iterator itEnd = restoreList.end(); + std::vector<U32>::const_iterator itCurrent = restoreList.begin(); + std::vector<U32>::const_iterator itEnd = restoreList.end(); while ( itCurrent != itEnd ) { diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index 5995fc0e5b..a4ab1fa56b 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -367,7 +367,7 @@ public: void addDebugBlip(const LLVector3& position, const LLColor4& color); void hidePermanentObjects( std::vector<U32>& restoreList ); - void restorePermanentObjects( std::vector<U32>& restoreList ); + void restorePermanentObjects( const std::vector<U32>& restoreList ); private: void unloadShaders(); |