mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Remove unused and add missing deprecated.h includes (#3599)
I generated lists of includes and uses via `rg -l deprecated.h | sort -u` and `rg -l WPI_DEPRECATED | sort -u` respectively. If a file was in the first list but not the second, the include was unused. If a file was in the second list but not the first, the include needed to be added.
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#include <wpi/deprecated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include <hal/Types.h>
|
||||
#include <wpi/deprecated.h>
|
||||
#include <wpi/sendable/Sendable.h>
|
||||
#include <wpi/sendable/SendableHelper.h>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "wpi/MemAlloc.h"
|
||||
#include "wpi/PointerLikeTypeTraits.h"
|
||||
#include "wpi/ErrorHandling.h"
|
||||
#include "wpi/deprecated.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "wpi/SmallString.h"
|
||||
#include "wpi/SmallVector.h"
|
||||
#include "wpi/StringExtras.h"
|
||||
#include "wpi/deprecated.h"
|
||||
#include "wpi/mutex.h"
|
||||
#include "wpi/raw_ostream.h"
|
||||
#include "wpi/span.h"
|
||||
|
||||
Reference in New Issue
Block a user