mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add format script which invokes clang-format on the C++ source code (#41)
On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
committed by
Peter Johnson
parent
68690643d2
commit
e14e45da76
@@ -10,12 +10,12 @@
|
||||
|
||||
WaitCommand::WaitCommand(double timeout)
|
||||
: Command(
|
||||
((std::stringstream &)(std::stringstream("Wait(") << timeout << ")"))
|
||||
((std::stringstream&)(std::stringstream("Wait(") << timeout << ")"))
|
||||
.str()
|
||||
.c_str(),
|
||||
timeout) {}
|
||||
|
||||
WaitCommand::WaitCommand(const std::string &name, double timeout)
|
||||
WaitCommand::WaitCommand(const std::string& name, double timeout)
|
||||
: Command(name, timeout) {}
|
||||
|
||||
void WaitCommand::Initialize() {}
|
||||
|
||||
Reference in New Issue
Block a user