Skip to content

Commit ed78e84

Browse files
committed
Fix NodeStatus enum value ordering.
1 parent 2a22fa8 commit ed78e84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python_bindings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ PYBIND11_MODULE(btpy_cpp, m)
164164
py::arg("sleep_time") = std::chrono::milliseconds(10));
165165

166166
py::enum_<NodeStatus>(m, "NodeStatus")
167-
.value("SUCCESS", NodeStatus::SUCCESS)
168-
.value("FAILURE", NodeStatus::FAILURE)
169167
.value("IDLE", NodeStatus::IDLE)
170168
.value("RUNNING", NodeStatus::RUNNING)
169+
.value("SUCCESS", NodeStatus::SUCCESS)
170+
.value("FAILURE", NodeStatus::FAILURE)
171171
.value("SKIPPED", NodeStatus::SKIPPED)
172172
.export_values();
173173

0 commit comments

Comments
 (0)