Skip to content

Commit

Permalink
Change an array to a vector to avoid clang complaint about variable
Browse files Browse the repository at this point in the history
length array of non-pod datatype.
  • Loading branch information
bhaskara committed Sep 22, 2016
1 parent 46d01dc commit 6318738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baxter_sim_controllers/src/baxter_effort_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bool BaxterEffortController::init(
}

// Get joint names from the parameter server
std::string joint_name[n_joints_];
std::vector<std::string> joint_name(n_joints_);
// Get joint controller name
std::string joint_controller_name = joint_it->first;

Expand Down

0 comments on commit 6318738

Please sign in to comment.