web_service: Eliminate variable shadowing
This commit is contained in:
parent
a0407a8e64
commit
12156b199a
2 changed files with 12 additions and 12 deletions
|
@ -13,8 +13,8 @@ namespace WebService {
|
|||
namespace Telemetry = Common::Telemetry;
|
||||
|
||||
struct TelemetryJson::Impl {
|
||||
Impl(std::string host, std::string username, std::string token)
|
||||
: host{std::move(host)}, username{std::move(username)}, token{std::move(token)} {}
|
||||
Impl(std::string host_, std::string username_, std::string token_)
|
||||
: host{std::move(host_)}, username{std::move(username_)}, token{std::move(token_)} {}
|
||||
|
||||
nlohmann::json& TopSection() {
|
||||
return sections[static_cast<u8>(Telemetry::FieldType::None)];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue