Pass primitive types by value (#935)

This commit is contained in:
Murat Seker
2020-08-08 13:09:15 +02:00
committed by GitHub
parent 5758b19cbc
commit c00d8e62fb
146 changed files with 505 additions and 505 deletions

View File

@@ -40,7 +40,7 @@ BlackBorderProcessor::~BlackBorderProcessor()
delete _detector;
}
void BlackBorderProcessor::handleSettingsUpdate(const settings::type& type, const QJsonDocument& config)
void BlackBorderProcessor::handleSettingsUpdate(settings::type type, const QJsonDocument& config)
{
if(type == settings::BLACKBORDER)
{
@@ -69,7 +69,7 @@ void BlackBorderProcessor::handleSettingsUpdate(const settings::type& type, cons
}
}
void BlackBorderProcessor::handleCompStateChangeRequest(const hyperion::Components component, bool enable)
void BlackBorderProcessor::handleCompStateChangeRequest(hyperion::Components component, bool enable)
{
if(component == hyperion::COMP_BLACKBORDER)
{
@@ -89,7 +89,7 @@ void BlackBorderProcessor::handleCompStateChangeRequest(const hyperion::Componen
}
}
void BlackBorderProcessor::setHardDisable(const bool& disable) {
void BlackBorderProcessor::setHardDisable(bool disable) {
if (disable)
{