From 3ccd0667b6d584e0a3381065f767ca75b0a238fe Mon Sep 17 00:00:00 2001 From: corentinberge <33965571+corentinberge@users.noreply.github.com> Date: Mon, 12 Aug 2019 12:17:13 +0200 Subject: [PATCH] Update signal-cast-registerer.cpp Delete the end of file (type checking) --- tests/signal-cast-registerer.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/signal-cast-registerer.cpp b/tests/signal-cast-registerer.cpp index b47843c..ac39bc1 100644 --- a/tests/signal-cast-registerer.cpp +++ b/tests/signal-cast-registerer.cpp @@ -371,22 +371,3 @@ BOOST_AUTO_TEST_CASE (custom_matrix_registerer) { //[...]((...)) } - -// One issue with the strategy used by the -// dynamicgraph::SignalCastRegisterer is that it relies on the -// typeid. In practice, it means that two signals defined in two -// different libraries will have different typeid and one will not be -// able to plug one into the other unless the symbol have merged when -// the plug-in is loaded. See man(3) dlopen in Linux for more -// information about plug-in loading and the RTLD_GLOBAL flag -// necessary to make cast registerer work as expected. -// -// Here we make sure that two instances of the same type -// declared in two separate libraries are resolved into the -// same typeid. -/*BOOST_AUTO_TEST_CASE (typeid_issue) -{ - BOOST_CHECK (typeid(vA) == typeid(vB)); - BOOST_CHECK_EQUAL (std::string (typeid(vA).name ()), - std::string (typeid(vB).name ())); -}*/ \ No newline at end of file -- GitLab