Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cyber/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace {
const std::string& kClockChannel = "/clock";
const std::string& kClockNode = "clock";
const std::string& kClockNode1 = "clock";

const std::string& kClockNode2 = "clock";
bool g_atexit_registered = false;
std::mutex g_mutex;
std::unique_ptr<Node> clock_node;
Expand Down
2 changes: 1 addition & 1 deletion cyber/state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ std::atomic<State> g_cyber_state;
}

State GetState() { return g_cyber_state.load(); }

State GetState1() { return g_cyber_state.load(); }
void SetState(const State& state) { g_cyber_state.store(state); }

} // namespace cyber
Expand Down