Ran format.py after writing unit tests for and fixing bugs in it (#239)

This commit is contained in:
Tyler Veness
2016-09-21 23:48:54 -07:00
committed by Peter Johnson
parent ac9b6f7b18
commit 659dbef751
20 changed files with 96 additions and 75 deletions

View File

@@ -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() {}