Use llvm::Twine across C++ Command structure.

This commit is contained in:
Peter Johnson
2017-12-01 20:50:35 -08:00
parent 001dedf3b2
commit ab137abab5
22 changed files with 52 additions and 45 deletions

View File

@@ -7,7 +7,7 @@
#pragma once
#include <string>
#include <llvm/Twine.h>
#include "Commands/Command.h"
@@ -20,7 +20,7 @@ namespace frc {
*/
class TimedCommand : public Command {
public:
TimedCommand(const std::string& name, double timeout);
TimedCommand(const llvm::Twine& name, double timeout);
explicit TimedCommand(double timeout);
virtual ~TimedCommand() = default;