mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Replace std::stringstream with llvm::raw_svector_ostream (#345)
A few locations were changed to use std::ostringstream.
This commit is contained in:
committed by
Peter Johnson
parent
7006672b06
commit
b433d98c02
@@ -12,6 +12,7 @@
|
||||
#include "MotorSafety.h"
|
||||
#include "MotorSafetyHelper.h"
|
||||
#include "PWM.h"
|
||||
#include "llvm/raw_ostream.h"
|
||||
|
||||
namespace frc {
|
||||
|
||||
@@ -34,7 +35,7 @@ class SafePWM : public PWM, public MotorSafety {
|
||||
void StopMotor();
|
||||
bool IsSafetyEnabled() const;
|
||||
void SetSafetyEnabled(bool enabled);
|
||||
void GetDescription(std::ostringstream& desc) const;
|
||||
void GetDescription(llvm::raw_ostream& desc) const;
|
||||
|
||||
virtual void SetSpeed(double speed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user