mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
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:
committed by
Peter Johnson
parent
c57a7f0a41
commit
9d93820717
@@ -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";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user