code smells
This commit is contained in:
@@ -20,7 +20,7 @@ class DriverBoardItem : public Item
|
||||
{
|
||||
public:
|
||||
DriverBoardItem(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name) :
|
||||
Item(output_gpio_interface, address, name) {}
|
||||
Item(std::move(output_gpio_interface), address, std::move(name)) {}
|
||||
~DriverBoardItem() override = default;
|
||||
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class SoundItem : public Item
|
||||
{
|
||||
public:
|
||||
SoundItem(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name) :
|
||||
Item(output_gpio_interface, address, name) {}
|
||||
Item(std::move(output_gpio_interface), address, std::move(name)) {}
|
||||
~SoundItem() override = default;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user