From 753c7efde8c44b4d3cc601c865191aae8efd5bae Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 4 Dec 2022 21:12:48 -0500 Subject: [PATCH] fixed build error --- daemon/UPnP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/UPnP.cpp b/daemon/UPnP.cpp index 9230aeb2..b7182055 100644 --- a/daemon/UPnP.cpp +++ b/daemon/UPnP.cpp @@ -211,7 +211,7 @@ namespace transport void UPnP::CloseMapping () { - const a = context.GetRouterInfo().GetAddresses(); + auto a = context.GetRouterInfo().GetAddresses(); if (!a) return; for (const auto& address : *a) {