Skip to content

Commit ef0ff10

Browse files
committed
fix cpp snippet
1 parent c0e05ae commit ef0ff10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/snippets/all/descriptors/descr_builtin_component.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ int main() {
66

77
rec.log_static(
88
"data",
9-
rerun::ComponentBatch::from_loggable(rerun::Position3D(1.0f, 2.0f, 3.0f))
9+
rerun::ComponentBatch::from_loggable(
10+
rerun::Position3D(1.0f, 2.0f, 3.0f),
11+
rerun::Loggable<rerun::Position3D>::Descriptor
12+
)
1013
);
1114

1215
// The tags are indirectly checked by the Rust version (have a look over there for more info).

0 commit comments

Comments
 (0)