Skip to content

Commit

Permalink
Don't forward-declare ServerPublisher, needed for SmallPtrSet on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Oct 25, 2024
1 parent b62f3e9 commit ccb0922
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ntcore/src/main/native/cpp/server/ServerTopic.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#include "net/NetworkOutgoingQueue.h"
#include "networktables/NetworkTableValue.h"
#include "server/ServerPublisher.h"
#include "server/ServerSubscriber.h"

namespace wpi {
Expand All @@ -23,8 +24,6 @@ class Logger;
namespace nt::server {

class ServerClient;
class ServerPublisher;
class ServerSubscriber;

struct TopicClientData {
wpi::SmallPtrSet<ServerPublisher*, 2> publishers;
Expand Down

0 comments on commit ccb0922

Please sign in to comment.