src.ctf.fs: remove ctf_fs_ds_index_destroy
[babeltrace.git] / src / plugins / ctf / fs-src / data-stream-file.hpp
index 3059933c8e1132c305dd3aa6d077839e4d795c61..8eadd236ce8eeeb28655988c4c08c87809571861 100644 (file)
@@ -108,14 +108,9 @@ struct ctf_fs_ds_index_entry
     uint64_t packet_seq_num = 0;
 };
 
-struct ctf_fs_ds_index_deleter
-{
-    void operator()(struct ctf_fs_ds_index *index) noexcept;
-};
-
 struct ctf_fs_ds_index
 {
-    using UP = std::unique_ptr<ctf_fs_ds_index, ctf_fs_ds_index_deleter>;
+    using UP = std::unique_ptr<ctf_fs_ds_index>;
 
     std::vector<ctf_fs_ds_index_entry::UP> entries;
 };
@@ -164,8 +159,6 @@ ctf_fs_ds_index::UP ctf_fs_ds_file_build_index(struct ctf_fs_ds_file *ds_file,
 
 ctf_fs_ds_index::UP ctf_fs_ds_index_create();
 
-void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index);
-
 ctf_fs_ds_file_info::UP ctf_fs_ds_file_info_create(const char *path, int64_t begin_ns);
 
 ctf_fs_ds_file_group::UP ctf_fs_ds_file_group_create(struct ctf_fs_trace *ctf_fs_trace,
This page took 0.025332 seconds and 4 git commands to generate.