Skip to content

Commit

Permalink
Change macros in PluginServer
Browse files Browse the repository at this point in the history
  • Loading branch information
VeithMetro authored Nov 20, 2024
1 parent 622c3eb commit bf9c7c2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Source/Thunder/PluginServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,9 @@ namespace PluginHost {
private:
bool _isExtended;
uint32_t _maxRequests;
VARIABLE_IS_NOT_USED uint8_t _state;
PUSH_WARNING(DISABLE_WARNING_UNUSED_PRIVATE_FIELD)
uint8_t _state;
POP_WARNING()
uint8_t _major;
uint8_t _minor;
uint8_t _patch;
Expand Down Expand Up @@ -1626,7 +1628,9 @@ namespace PluginHost {
}

private:
VARIABLE_IS_NOT_USED const mode _mode;
PUSH_WARNING(DISABLE_WARNING_UNUSED_PRIVATE_FIELD)
const mode _mode;
POP_WARNING()
mutable Core::CriticalSection _pluginHandling;

// The handlers that implement the actual logic behind the service
Expand All @@ -1646,7 +1650,9 @@ namespace PluginHost {
uint32_t _lastId;
ControlData _metadata;
Core::Library _library;
VARIABLE_IS_NOT_USED void* _hibernateStorage;
PUSH_WARNING(DISABLE_WARNING_UNUSED_PRIVATE_FIELD)
void* _hibernateStorage;
POP_WARNING()
ExternalAccess _external;
ServiceMap& _administrator;
Core::SinkType<Composit> _composit;
Expand Down

0 comments on commit bf9c7c2

Please sign in to comment.