From e002441fad83c6402ddff5c45d97a818467d0890 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 5 Oct 2026 20:20:10 -0400 Subject: [PATCH] return std::string from issetStr --- libi2pd_client/BOB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/BOB.cpp b/libi2pd_client/BOB.cpp index 9bc69dce..22615bb1 100644 --- a/libi2pd_client/BOB.cpp +++ b/libi2pd_client/BOB.cpp @@ -389,7 +389,7 @@ namespace client std::string BOBCommandSession::BuildStatusLine(bool currentTunnel, std::shared_ptr dest) { // helper lambdas - constexpr auto issetStr = [](std::string_view str) { return !str.empty() ? str : "not_set"; }; // for inhost, outhost + constexpr auto issetStr = [](const std::string& str) { return !str.empty() ? str : "not_set"; }; // for inhost, outhost const auto issetNum = [](int p) { return p ? std::to_string (p) : "not_set"; }; // for inport, outport // tunnel info