erased some codesmells

This commit is contained in:
Jonas Zeunert
2018-12-07 17:11:11 +01:00
parent 0bd7868540
commit 5e0687f7c6
19 changed files with 60 additions and 58 deletions

View File

@@ -15,7 +15,7 @@ namespace items
{
Sound::Sound(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name, std::chrono::milliseconds deactivation_time, u_int id) :
Item(output_gpio_interface, address, name),
Item(std::move(output_gpio_interface), address, std::move(name)),
deactivation_time(deactivation_time),
id(id)
{}