Skip to content

Commit

Permalink
Fru:Change of pass by value to const reference
Browse files Browse the repository at this point in the history
Change-Id: Idf53d897375f895fc52ec0a49ee0a2517ed32258
Signed-off-by: Pavithra Barithaya <[email protected]>
  • Loading branch information
Pavithra7 authored and dkodihal committed Feb 25, 2020
1 parent b754eee commit b368b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpldmresponder/fru.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Handler : public CmdHandler
{

public:
Handler(const std::string configPath) : impl(configPath)
Handler(const std::string& configPath) : impl(configPath)
{
handlers.emplace(PLDM_GET_FRU_RECORD_TABLE_METADATA,
[this](const pldm_msg* request, size_t payloadLength) {
Expand Down

0 comments on commit b368b33

Please sign in to comment.