projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src.ctf.fs: remove ctf_fs_file_create
[babeltrace.git]
/
src
/
plugins
/
ctf
/
fs-src
/
metadata.cpp
diff --git
a/src/plugins/ctf/fs-src/metadata.cpp
b/src/plugins/ctf/fs-src/metadata.cpp
index f19a1f47da7e3fe43b76e2aa735de650e61e41c8..bf905d3ae0975c3c88b29cdb30ca03424996eee9 100644
(file)
--- a/
src/plugins/ctf/fs-src/metadata.cpp
+++ b/
src/plugins/ctf/fs-src/metadata.cpp
@@
-6,6
+6,7
@@
*/
#include "common/assert.h"
*/
#include "common/assert.h"
+#include "cpp-common/bt2s/make-unique.hpp"
#include "../common/src/metadata/tsdl/decoder.hpp"
#include "file.hpp"
#include "../common/src/metadata/tsdl/decoder.hpp"
#include "file.hpp"
@@
-37,7
+38,7
@@
end:
static ctf_fs_file::UP get_file(const bt2c::CStringView trace_path, const bt2c::Logger& logger)
{
static ctf_fs_file::UP get_file(const bt2c::CStringView trace_path, const bt2c::Logger& logger)
{
- auto file =
ctf_fs_file_create
(logger);
+ auto file =
bt2s::make_unique<ctf_fs_file>
(logger);
if (!file) {
goto error;
if (!file) {
goto error;
This page took
0.022864 seconds
and
4
git commands to generate.