mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
Clean up include guards and EOF newlines (#65)
* Replaced include guards with #pragma once * All source files now have exactly one newline appended Some files had either two newlines at the end or none (which isn't POSIX compliant). This patch fixes that.
This commit is contained in:
committed by
Peter Johnson
parent
d82635bbe1
commit
62812faf62
@@ -5,8 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef _LIVE_WINDOW_H
|
||||
#define _LIVE_WINDOW_H
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
@@ -82,5 +81,3 @@ class LiveWindow {
|
||||
bool m_enabled = false;
|
||||
bool m_firstTime = true;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef LIVEWINDOWSENDABLE_H_
|
||||
#define LIVEWINDOWSENDABLE_H_
|
||||
#pragma once
|
||||
|
||||
#include "SmartDashboard/Sendable.h"
|
||||
|
||||
@@ -35,5 +34,3 @@ class LiveWindowSendable : public Sendable {
|
||||
*/
|
||||
virtual void StopLiveWindowMode() = 0;
|
||||
};
|
||||
|
||||
#endif /* LIVEWINDOWSENDABLE_H_ */
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef _LIVE_WINDOW_STATUS_LISTENER_H
|
||||
#define _LIVE_WINDOW_STATUS_LISTENER_H
|
||||
#pragma once
|
||||
|
||||
#include "tables/ITable.h"
|
||||
#include "tables/ITableListener.h"
|
||||
@@ -16,5 +15,3 @@ class LiveWindowStatusListener : public ITableListener {
|
||||
virtual void ValueChanged(ITable* source, llvm::StringRef key,
|
||||
std::shared_ptr<nt::Value> value, bool isNew);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user