src.ctf.fs: remove ctf_fs_ds_index::UP
[babeltrace.git] / src / plugins / ctf / fs-src / query.cpp
index 890a3445b62fb3c0e755ebc0e03c8bd519791348..729dc5acaef4d793572ab0cd61dbe5293c366479 100644 (file)
@@ -123,14 +123,13 @@ static void populate_stream_info(struct ctf_fs_ds_file_group *group, const bt2::
      * the timestamp_begin of the first index entry and the timestamp_end
      * of the last index entry.
      */
-    BT_ASSERT(group->index);
-    BT_ASSERT(!group->index->entries.empty());
+    BT_ASSERT(!group->index.entries.empty());
 
     /* First entry. */
-    const auto& first_ds_index_entry = group->index->entries.front();
+    const auto& first_ds_index_entry = group->index.entries.front();
 
     /* Last entry. */
-    const auto& last_ds_index_entry = group->index->entries.back();
+    const auto& last_ds_index_entry = group->index.entries.back();
 
     stream_range->begin_ns = first_ds_index_entry.timestamp_begin_ns;
     stream_range->end_ns = last_ds_index_entry.timestamp_end_ns;
This page took 0.032356 seconds and 4 git commands to generate.