Skip to content

Commit dadfd60

Browse files
committed
Fix gcc shadow warning.
1 parent 6c8fea7 commit dadfd60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/applib/storage_settings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ inline std::vector<std::string> app_get_device_options(const std::string& dev, c
113113
struct AppAddDeviceOption {
114114
AppAddDeviceOption() = default;
115115

116-
AppAddDeviceOption(std::string device, std::string type, std::string options)
117-
: device(std::move(device)), type(std::move(type)), options(std::move(options))
116+
AppAddDeviceOption(std::string par_device, std::string par_type, std::string par_options)
117+
: device(std::move(par_device)), type(std::move(par_type)), options(std::move(par_options))
118118
{ }
119119

120120
std::string device; ///< Device name, e.g. /dev/sda

0 commit comments

Comments
 (0)