tests/lib/conds: make `condMain()` take a span for args
[babeltrace.git] / tests / lib / conds / conds-triggers.cpp
index 26603cdcbd1d7b096320235e21f9852ef718e7ac..857cfbcc59284764ef82018c13f0714ae14a1a4b 100644 (file)
@@ -10,6 +10,7 @@
 
 #include "cpp-common/bt2/graph.hpp"
 #include "cpp-common/bt2c/c-string-view.hpp"
+#include "cpp-common/bt2c/span.hpp"
 #include "cpp-common/bt2s/make-unique.hpp"
 
 #include "utils.hpp"
@@ -106,5 +107,5 @@ int main(const int argc, const char ** const argv)
         },
         CondTrigger::Type::PRE, "field-class-integer-set-field-value-range:not-null:field-class"));
 
-    condMain(argc, argv, triggers);
+    condMain(bt2c::makeSpan(argv, argc), triggers);
 }
This page took 0.024051 seconds and 4 git commands to generate.