communication: Avoid deprecated Name::set method

Change-Id: Ic9898c1c6afce65078ab57d8a3bfb8b94c20b9ab
Refs: #2505
diff --git a/src/communication/sync-logic-handler.hpp b/src/communication/sync-logic-handler.hpp
index faa8e54..36caae7 100644
--- a/src/communication/sync-logic-handler.hpp
+++ b/src/communication/sync-logic-handler.hpp
@@ -61,8 +61,7 @@
   void
   setSyncPrefix(const std::string& sp)
   {
-    m_syncPrefix.clear();
-    m_syncPrefix.set(sp);
+    m_syncPrefix = sp;
   }
 
   void