Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad1815aa authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Automerger Merge Worker
Browse files

tests/resolv_gold_test - fix performance-unnecessary-value-param warning am:...

tests/resolv_gold_test - fix performance-unnecessary-value-param warning am: d31abf85 am: 0859406d am: 8a5fc7c7 am: 88441c99 am: 4e91afb5

Change-Id: Ic0bc704d53f0f83717ef8776c802a27d46cb4bf3
parents b0e3bc08 4e91afb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ using GoldTestParamType = std::tuple<DnsProtocol, std::string /* filename */>;
class ResolvGoldTest : public TestBase, public ::testing::WithParamInterface<GoldTestParamType> {
  public:
    // Generate readable string for test name from test parameters.
    static std::string Name(::testing::TestParamInfo<GoldTestParamType> info) {
    static std::string Name(const ::testing::TestParamInfo<GoldTestParamType>& info) {
        const auto& [protocol, file] = info.param;
        std::string name = StringPrintf(
                "%s_%s", protocol == DnsProtocol::CLEARTEXT ? "CLEARTEXT" : "TLS", file.c_str());