From eaf611f755d84ce9288a8f2b19b2b0fdab5beab7 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 27 May 2022 18:01:48 +0200 Subject: [PATCH] Avoid potential recursive call --- api/node/src/communication.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/node/src/communication.rs b/api/node/src/communication.rs index c3afb8ce..9fb05292 100644 --- a/api/node/src/communication.rs +++ b/api/node/src/communication.rs @@ -23,7 +23,7 @@ impl CommunicationLayer for zenoh::Session { &'a self, topic: &str, ) -> Result> + 'a>>, BoxError> { - self.subscribe(topic) + zenoh::Session::subscribe(self, topic) .await .map(|s| { let trait_object: Pin> + 'a>> =