Use typeof instead of __auto_type
[babeltrace.git] / src / common / macros.h
index 036b3e012b7fc47b360f63007501d5eea20ffe7d..ff7da410106a39d981556cd13d0905d2a2d662b8 100644 (file)
@@ -56,7 +56,7 @@
 
 #define BT_MOVE_REF(ref)               \
        ({                              \
-               __auto_type _ref = ref; \
+               typeof(ref) _ref = ref; \
                ref = NULL;             \
                _ref;                   \
        })
This page took 0.023546 seconds and 4 git commands to generate.