disambiguate boost list assignment by using a const for the value
parent
0cde8e8858
commit
b778abe02b
|
|
@ -214,7 +214,7 @@ void LLPresetsManager::settingChanged()
|
|||
|
||||
void LLPresetsManager::getControlNames(std::vector<std::string>& names)
|
||||
{
|
||||
names = boost::assign::list_of
|
||||
const std::vector<std::string> camera_controls = boost::assign::list_of
|
||||
// From panel_preferences_move.xml
|
||||
("CameraAngle")
|
||||
("CameraOffsetScale")
|
||||
|
|
@ -225,7 +225,9 @@ void LLPresetsManager::getControlNames(std::vector<std::string>& names)
|
|||
("CameraOffsetRearView")
|
||||
("FocusOffsetRearView")
|
||||
("CameraOffsetScale")
|
||||
("TrackFocusObject");
|
||||
("TrackFocusObject")
|
||||
;
|
||||
names = camera_controls;
|
||||
}
|
||||
|
||||
bool LLPresetsManager::savePreset(const std::string& subdirectory, std::string name, bool createDefault)
|
||||
|
|
|
|||
Loading…
Reference in New Issue