From 8ce70d25e26799b8f9f73dc61234a5c02604da14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20B=C3=B6rschig?= Date: Wed, 26 Jun 2024 11:49:05 +0200 Subject: [PATCH] -- demos: remove unused #ifdef (#61) --- Demos/Ethernet/EthernetDemo.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Demos/Ethernet/EthernetDemo.cpp b/Demos/Ethernet/EthernetDemo.cpp index 1db45ff80..841c21a6e 100755 --- a/Demos/Ethernet/EthernetDemo.cpp +++ b/Demos/Ethernet/EthernetDemo.cpp @@ -28,12 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include #include -#ifdef SILKIT_HOURGLASS -#include "silkit/hourglass/SilKit.hpp" -#include "silkit/hourglass/config/IParticipantConfiguration.hpp" -#else #include "silkit/SilKit.hpp" -#endif #include "silkit/SilKitVersion.hpp" #include "silkit/services/all.hpp" @@ -198,13 +193,8 @@ int main(int argc, char** argv) } } -#ifdef SILKIT_HOURGLASS - using SilKit::Hourglass::CreateParticipant; - using SilKit::Hourglass::Config::ParticipantConfigurationFromFile; -#else using SilKit::CreateParticipant; using SilKit::Config::ParticipantConfigurationFromFile; -#endif auto participantConfiguration = ParticipantConfigurationFromFile(participantConfigurationFilename);