From fe12394c93b6eba4291ebf832fe4e2c9af762006 Mon Sep 17 00:00:00 2001 From: thomasclark Date: Tue, 22 Jul 2014 13:57:45 -0400 Subject: [PATCH] Fixed the Command-Based Robot template [artf2550] Change-Id: I49361a70fd19d59fbeb9e22a8f65de875fa5a04a --- .../resources/templates/command-based/CommandBase.cpp | 2 +- .../resources/templates/command-based/CommandBase.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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