Skip to content

Commit

Permalink
The shared libs workaround is no longer necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro committed Jan 15, 2025
1 parent eae541e commit 007ebe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions Source/com/Communicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,15 +555,13 @@ namespace RPC {
if (announceMessage->Response().IsSet() == true) {
string jsonMessagingCategories(announceMessage->Response().MessagingCategories());

#ifdef BUILD_SHARED_LIBS
Assertion::AssertionUnit::Instance();

#if defined(WARNING_REPORTING_ENABLED)
#if defined(WARNING_REPORTING_ENABLED)
string jsonDefaultWarningCategories(announceMessage->Response().WarningReportingCategories());
if(jsonDefaultWarningCategories.empty() == false){
WarningReporting::WarningReportingUnit::Instance().Defaults(jsonDefaultWarningCategories);
}
#endif
#endif
_connectionId = announceMessage->Response().SequenceNumber();

Expand Down
8 changes: 3 additions & 5 deletions Source/com/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@
#include <core/core.h>
#include <messaging/messaging.h>

#ifdef BUILD_SHARED_LIBS
#include <assertion/assertion.h>
#include <assertion/assertion.h>

#ifdef WARNING_REPORTING_ENABLED
#include <warningreporting/warningreporting.h>
#endif
#ifdef WARNING_REPORTING_ENABLED
#include <warningreporting/warningreporting.h>
#endif

#if defined(__WINDOWS__) && defined(COM_EXPORTS)
Expand Down

0 comments on commit 007ebe3

Please sign in to comment.