From ea7a32c7e36faf7c074fce39854e07a732dc3fde Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 29 Jul 2019 12:41:45 -0400 Subject: [PATCH] const correctness --- llarp/path/pathbuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/path/pathbuilder.cpp b/llarp/path/pathbuilder.cpp index 4352b4a53..178083157 100644 --- a/llarp/path/pathbuilder.cpp +++ b/llarp/path/pathbuilder.cpp @@ -130,7 +130,7 @@ namespace llarp { if(!ctx.pathset->IsStopped()) { - RouterID remote = ctx.path->Upstream(); + const RouterID remote = ctx.path->Upstream(); const ILinkMessage* msg = &ctx.LRCM; if(ctx.router->SendToOrQueue(remote, msg)) {