Gets WPILib building on windows and C++11 vs C++1y (#561)

This commit is contained in:
Thad House
2017-07-08 14:17:21 -07:00
committed by Peter Johnson
parent 89d3b08e77
commit abbe630274
3 changed files with 49 additions and 2 deletions

View File

@@ -20,7 +20,8 @@ using namespace frc;
const int RobotDrive::kMaxNumberOfMotors;
static auto make_shared_nodelete(SpeedController* ptr) {
static std::shared_ptr<SpeedController> make_shared_nodelete(
SpeedController* ptr) {
return std::shared_ptr<SpeedController>(ptr, NullDeleter<SpeedController>());
}