[hal, cscore, ntcore] Use WPI common handle type base

This commit is contained in:
Peter Johnson
2021-09-17 12:28:12 -07:00
parent 87e34967ef
commit b82d4f6e58
3 changed files with 9 additions and 3 deletions

View File

@@ -5,6 +5,8 @@
#ifndef NTCORE_HANDLE_H_
#define NTCORE_HANDLE_H_
#include <wpi/Synchronization.h>
#include "ntcore_c.h"
namespace nt {
@@ -17,7 +19,7 @@ namespace nt {
class Handle {
public:
enum Type {
kConnectionListener = 1,
kConnectionListener = wpi::kHandleTypeNTBase,
kConnectionListenerPoller,
kEntry,
kEntryListener,