Skip to content

Commit

Permalink
Merge pull request #66 from MiRON-project/fix_gettimeofday_ambiguity
Browse files Browse the repository at this point in the history
fix gettimeofday ambiguity (not calling ACE function)
  • Loading branch information
DavidMansolino authored Mar 11, 2020
2 parents 7cb72b2 + 7a987d5 commit ffef5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ComponentWebotsLidar/smartsoft/src/LaserTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int LaserTask::on_execute()
{
// time settings and update scan count
timeval _receiveTime;
gettimeofday(&_receiveTime, 0);
::gettimeofday(&_receiveTime, 0);
scan.set_scan_time_stamp(CommBasicObjects::CommTimeStamp(_receiveTime));
scan.set_scan_update_count(scanCount);

Expand Down

0 comments on commit ffef5bb

Please sign in to comment.