return std::string from issetStr

This commit is contained in:
orignal committed 2026-10-05 20:20:10 -04:00
1 parent cd200e08c0
commit e002441fad
1 file changed
+1 -1
+1 -1
View File
@@ -389,7 +389,7 @@ namespace client
std::string BOBCommandSession::BuildStatusLine(bool currentTunnel, std::shared_ptr<BOBDestination> 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