mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Ran format.py after writing unit tests for and fixing bugs in it (#239)
This commit is contained in:
committed by
Peter Johnson
parent
ac9b6f7b18
commit
659dbef751
@@ -6,8 +6,9 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include "Commands/PrintCommand.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include "stdio.h"
|
||||
|
||||
PrintCommand::PrintCommand(const std::string& message)
|
||||
: Command(((std::stringstream&)(std::stringstream("Print \"") << message
|
||||
@@ -17,7 +18,7 @@ PrintCommand::PrintCommand(const std::string& message)
|
||||
m_message = message;
|
||||
}
|
||||
|
||||
void PrintCommand::Initialize() { printf("%s", m_message.c_str()); }
|
||||
void PrintCommand::Initialize() { std::printf("%s", m_message.c_str()); }
|
||||
|
||||
void PrintCommand::Execute() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user