summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatereditwater.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-06-10 19:55:30 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-06-10 19:55:30 +0300
commit150c18169de8b7155658e676b86014716f62aeed (patch)
tree2e9f10fc315b314abd8fdfa71696661bf1763af8 /indra/newview/llfloatereditwater.cpp
parent5b5355f2e90a59ac60f4e3c961677f90faea90f6 (diff)
STORM-1305 WIP Made LLWaterParamManager::mParamList private and typedef'ed its type.
Diffstat (limited to 'indra/newview/llfloatereditwater.cpp')
-rw-r--r--indra/newview/llfloatereditwater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatereditwater.cpp b/indra/newview/llfloatereditwater.cpp
index a5d392afc6..e8c20f5932 100644
--- a/indra/newview/llfloatereditwater.cpp
+++ b/indra/newview/llfloatereditwater.cpp
@@ -508,8 +508,8 @@ void LLFloaterEditWater::refreshWaterPresetsList()
#endif
// Add local water presets.
- const std::map<std::string, LLWaterParamSet> &water_params_map = LLWaterParamManager::instance().mParamList;
- for (std::map<std::string, LLWaterParamSet>::const_iterator it = water_params_map.begin(); it != water_params_map.end(); it++)
+ const LLWaterParamManager::preset_map_t &water_params_map = LLWaterParamManager::instance().getPresets();
+ for (LLWaterParamManager::preset_map_t::const_iterator it = water_params_map.begin(); it != water_params_map.end(); it++)
{
mWaterPresetCombo->add(it->first, LLSD().with(0, it->first).with(1, LLEnvKey::SCOPE_LOCAL));
}