Skip to content

Commit

Permalink
Fixed C++20 warning that ‘++’ expression of ‘volatile’-qualified type…
Browse files Browse the repository at this point in the history
… is deprecated (#102)

Signed-off-by: Guilherme Rodrigues <[email protected]>
  • Loading branch information
AiVerisimilitude authored Sep 11, 2023
1 parent c762acb commit 9979278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void autoComplete(
marker.pose.orientation.z = marker_orientation.z();
marker.pose.orientation.w = marker_orientation.w();

static volatile unsigned id = 0;
static unsigned id = 0;
marker.id = id++;
marker.ns = msg.name;

Expand Down

0 comments on commit 9979278

Please sign in to comment.