From ab0806a036485979d60015a22a8e8831b68643a2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 17 Jul 2017 13:48:39 -0700 Subject: Cleanup. --- node/Switch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Switch.cpp') diff --git a/node/Switch.cpp b/node/Switch.cpp index eee49775..9c9daac9 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -60,7 +60,7 @@ void Switch::onRemotePacket(void *tPtr,const int64_t localSocket,const InetAddre try { const uint64_t now = RR->node->now(); - SharedPtr path(RR->topology->getPath(localSocket,fromAddr)); + const SharedPtr path(RR->topology->getPath(localSocket,fromAddr)); path->received(now); if (len == 13) { -- cgit v1.2.3