Skip to content

Commit

Permalink
-- demos: remove unused #ifdef (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusBgm authored Jun 26, 2024
1 parent a79fe33 commit 8ce70d2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Demos/Ethernet/EthernetDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <thread>
#include <vector>

#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"
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 8ce70d2

Please sign in to comment.