Skip to content

Commit 5f65b7a

Browse files
committed
Don't use deprecated functions
1 parent bfcf3ce commit 5f65b7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/frame_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ namespace rerun_vrs {
4545
layout.printLayoutCompact(buffer);
4646
const auto& layout_str = buffer.str();
4747

48-
_rec->set_time_seconds("timestamp", record.timestamp);
48+
_rec->set_time_duration_secs("timestamp", record.timestamp);
4949

5050
if (record.recordType == vrs::Record::Type::CONFIGURATION) {
5151
// NOTE this is meta data from the sensor that doesn't change over time and only comes

src/imu_player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace rerun_vrs {
5757
layout.printLayoutCompact(buffer);
5858
const auto& layout_str = buffer.str();
5959

60-
_rec->set_time_seconds("timestamp", record.timestamp);
60+
_rec->set_time_duration_secs("timestamp", record.timestamp);
6161

6262
if (record.recordType == vrs::Record::Type::CONFIGURATION) {
6363
// NOTE this is meta data from the sensor that doesn't change over time and only comes

0 commit comments

Comments
 (0)