Clean-up: tests: utils: const_cast
[lttng-tools.git] / tests / utils / bt2_plugins / utils.hpp
index fcf76371cacaad6a016986524ffe904111b932f8..1d306fd1bf584eb1ba625f3f17e4304b1701c553 100644 (file)
@@ -17,7 +17,7 @@ namespace bt2 {
 namespace internal {
 static inline void bt_value_put_ref(bt_value *value)
 {
-       bt_value_put_ref(const_cast<const bt_value *>(value));
+       bt_value_put_ref(static_cast<const bt_value *>(value));
 }
 } /* namespace internal */
 
This page took 0.022445 seconds and 4 git commands to generate.