projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: workaround g++ 4.8 decltype handling bug
[lttng-tools.git]
/
include
/
lttng
/
ref-internal.hpp
diff --git
a/include/lttng/ref-internal.hpp
b/include/lttng/ref-internal.hpp
index 68b6efd1b8b6a8290a964fe0ee045cdd553b2508..13c1a69eedb89ee9e8191f0a337a88b17721cc49 100644
(file)
--- a/
include/lttng/ref-internal.hpp
+++ b/
include/lttng/ref-internal.hpp
@@
-17,16
+17,14
@@
struct lttng_ref {
lttng_release_func release;
};
lttng_release_func release;
};
-static inline
-void lttng_ref_init(struct lttng_ref *ref, lttng_release_func release)
+static inline void lttng_ref_init(struct lttng_ref *ref, lttng_release_func release)
{
LTTNG_ASSERT(ref);
ref->count = 1;
ref->release = release;
}
{
LTTNG_ASSERT(ref);
ref->count = 1;
ref->release = release;
}
-static inline
-void lttng_ref_get(struct lttng_ref *ref)
+static inline void lttng_ref_get(struct lttng_ref *ref)
{
LTTNG_ASSERT(ref);
ref->count++;
{
LTTNG_ASSERT(ref);
ref->count++;
@@
-34,8
+32,7
@@
void lttng_ref_get(struct lttng_ref *ref)
LTTNG_ASSERT(ref->count);
}
LTTNG_ASSERT(ref->count);
}
-static inline
-void lttng_ref_put(struct lttng_ref *ref)
+static inline void lttng_ref_put(struct lttng_ref *ref)
{
LTTNG_ASSERT(ref);
/* Underflow check. */
{
LTTNG_ASSERT(ref);
/* Underflow check. */
This page took
0.023855 seconds
and
4
git commands to generate.