projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpp-common/bt2s: control span-lite's contract check based on BT_DEBUG_MODE
[babeltrace.git]
/
src
/
cpp-common
/
bt2s
/
span.hpp
diff --git
a/src/cpp-common/bt2s/span.hpp
b/src/cpp-common/bt2s/span.hpp
index 94dd8011b9358894ae83235215f798afe98f1740..4a7fc32969a93618387fcf80be7ed14041e87f24 100644
(file)
--- a/
src/cpp-common/bt2s/span.hpp
+++ b/
src/cpp-common/bt2s/span.hpp
@@
-9,6
+9,12
@@
#define span_FEATURE_MAKE_SPAN 1
+#ifdef BT_DEBUG_MODE
+# define span_CONFIG_CONTRACT_LEVEL_ON 1
+#else
+# define span_CONFIG_CONTRACT_LEVEL_OFF 1
+#endif
+
#include "cpp-common/vendor/span-lite/span.hpp" /* IWYU pragma: export */
namespace bt2s {
This page took
0.023042 seconds
and
4
git commands to generate.