[json] Add forward definition header (#5676)

This commit is contained in:
PJ Reiniger
2023-09-22 16:01:27 -04:00
committed by GitHub
parent eab44534c3
commit dd5612fbee
32 changed files with 47 additions and 96 deletions

View File

@@ -14,6 +14,7 @@
#include <vector>
#include <wpi/StringMap.h>
#include <wpi/json_fwd.h>
#include <wpi/mutex.h>
#include "PropertyImpl.h"
@@ -23,7 +24,6 @@ namespace wpi {
class Logger;
template <typename T>
class SmallVectorImpl;
class json;
} // namespace wpi
namespace cs {

View File

@@ -10,14 +10,11 @@
#include <string_view>
#include <wpi/Logger.h>
#include <wpi/json_fwd.h>
#include <wpi/mutex.h>
#include "SourceImpl.h"
namespace wpi {
class json;
} // namespace wpi
namespace cs {
class Frame;

View File

@@ -14,6 +14,7 @@
#include <wpi/Logger.h>
#include <wpi/condition_variable.h>
#include <wpi/json_fwd.h>
#include <wpi/mutex.h>
#include "Frame.h"
@@ -22,10 +23,6 @@
#include "PropertyContainer.h"
#include "cscore_cpp.h"
namespace wpi {
class json;
} // namespace wpi
namespace cs {
class Notifier;