diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.cpp b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.cpp index 61496bfa75..528da2a4b6 100644 --- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.cpp +++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.cpp @@ -6,7 +6,7 @@ ExampleSubsystem* CommandBase::examplesubsystem = NULL; OI* CommandBase::oi = NULL; -CommandBase::CommandBase(std::string name) : +CommandBase::CommandBase(char const *name) : Command(name) { } diff --git a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.h b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.h index 96c6a8b4c5..f949a530ef 100644 --- a/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.h +++ b/eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/resources/templates/command-based/CommandBase.h @@ -14,7 +14,7 @@ class CommandBase: public Command { public: - CommandBase(std::string name); + CommandBase(char const *name); CommandBase(); static void init(); // Create a single static instance of all of your subsystems