ControllerEmu: Add const to UpdateReferences() first reference parameter

None of these parameters are modified.
This commit is contained in:
Lioncash 2017-02-11 00:29:22 -05:00
parent 2cad67952d
commit 98145d2160
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ bool ControlReference::InputGateOn()
// Updates a controlreference's binded devices/controls
// need to call this to re-parse a control reference's expression after changing it
//
void ControlReference::UpdateReference(ciface::Core::DeviceContainer& devices,
void ControlReference::UpdateReference(const ciface::Core::DeviceContainer& devices,
const ciface::Core::DeviceQualifier& default_device)
{
Expression* expr;