Replaced STL streams with LLVM's raw_ostream (#344)

std::cout and std::printf were replaced with llvm::outs() and std::cerr was replaced with llvm::errs().
This commit is contained in:
Tyler Veness
2017-06-30 22:33:43 -04:00
committed by Peter Johnson
parent c57a7f0a41
commit 9d93820717
27 changed files with 118 additions and 118 deletions

View File

@@ -7,7 +7,7 @@
#include "Commands/PrintCommand.h"
#include <iostream>
#include "llvm/raw_ostream.h"
using namespace frc;
@@ -16,4 +16,4 @@ PrintCommand::PrintCommand(const std::string& message)
m_message = message;
}
void PrintCommand::Initialize() { std::cout << m_message << "\n"; }
void PrintCommand::Initialize() { llvm::outs() << m_message << "\n"; }

View File

@@ -8,7 +8,6 @@
#include "Commands/Scheduler.h"
#include <algorithm>
#include <iostream>
#include <set>
#include "Buttons/ButtonScheduler.h"