mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
[build] Add .inl files to styleguide (NFC) (#2506)
No functional changes.
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2017-2019. All Rights Reserved. */
|
||||
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef NT_ENTRY_INL_
|
||||
#define NT_ENTRY_INL_
|
||||
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
|
||||
#define NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace nt {
|
||||
|
||||
@@ -295,4 +299,4 @@ inline void NetworkTableEntry::RemoveListener(NT_EntryListener entry_listener) {
|
||||
|
||||
} // namespace nt
|
||||
|
||||
#endif // NT_ENTRY_INL_
|
||||
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEENTRY_INL_
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2017. All Rights Reserved. */
|
||||
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef NT_INSTANCE_INL_
|
||||
#define NT_INSTANCE_INL_
|
||||
#ifndef NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
|
||||
#define NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace nt {
|
||||
|
||||
@@ -188,4 +191,4 @@ inline bool NetworkTableInstance::WaitForLoggerQueue(double timeout) {
|
||||
|
||||
} // namespace nt
|
||||
|
||||
#endif // NT_INSTANCE_INL_
|
||||
#endif // NTCORE_NETWORKTABLES_NETWORKTABLEINSTANCE_INL_
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2017. All Rights Reserved. */
|
||||
/* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef NT_RPCCALL_INL_
|
||||
#define NT_RPCCALL_INL_
|
||||
#ifndef NTCORE_NETWORKTABLES_RPCCALL_INL_
|
||||
#define NTCORE_NETWORKTABLES_RPCCALL_INL_
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "ntcore_cpp.h"
|
||||
|
||||
@@ -45,4 +48,4 @@ inline void RpcCall::CancelResult() {
|
||||
|
||||
} // namespace nt
|
||||
|
||||
#endif // NT_RPCCALL_INL_
|
||||
#endif // NTCORE_NETWORKTABLES_RPCCALL_INL_
|
||||
|
||||
Reference in New Issue
Block a user