File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -954,7 +954,7 @@ namespace WPEFramework
954
954
return cecSettingEnabled;
955
955
}
956
956
957
- uint32_t HdmiCecSourceImplementation::SetEnabled (bool &enabled, bool &success)
957
+ uint32_t HdmiCecSourceImplementation::SetEnabled (const bool &enabled, bool &success)
958
958
{
959
959
LOGINFO (" Entered SetEnabled " );
960
960
@@ -975,7 +975,7 @@ namespace WPEFramework
975
975
return Core::ERROR_NONE;
976
976
}
977
977
978
- uint32_t HdmiCecSourceImplementation::SetOTPEnabled (bool &enabled, bool &success)
978
+ uint32_t HdmiCecSourceImplementation::SetOTPEnabled (const bool &enabled, bool &success)
979
979
{
980
980
if (cecOTPSettingEnabled != enabled)
981
981
{
Original file line number Diff line number Diff line change @@ -317,9 +317,9 @@ namespace WPEFramework {
317
317
std::list<Exchange::IHdmiCecSource::INotification*> _hdmiCecSourceNotifications;
318
318
319
319
public:
320
- uint32_t SetEnabled (bool &enabled, bool &success) override ;
320
+ uint32_t SetEnabled (const bool &enabled, bool &success) override ;
321
321
uint32_t GetEnabled (bool &enabled, bool &success) override ;
322
- uint32_t SetOTPEnabled (bool &enabled, bool &success) override ;
322
+ uint32_t SetOTPEnabled (const bool &enabled, bool &success) override ;
323
323
uint32_t GetOTPEnabled (bool &enabled, bool &success) override ;
324
324
uint32_t SetOSDName (const string &name, bool &success) override ;
325
325
uint32_t GetOSDName (string &name, bool &success) override ;
You can’t perform that action at this time.
0 commit comments