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

@@ -12,6 +12,7 @@
#include <gazebo/gazebo_client.hh>
#include <gazebo/transport/transport.hh>
#include "llvm/raw_ostream.h"
#include "simulation/gz_msgs/msgs.h"
namespace frc {
@@ -56,8 +57,7 @@ class MainNode {
main->Init("frc");
gazebo::transport::run();
} else {
std::cout << "An error has occured setting up gazebo_client!"
<< std::endl;
llvm::outs() << "An error has occured setting up gazebo_client!\n";
}
}
};