aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/refcounted-object.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdbsupport/refcounted-object.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdbsupport/refcounted-object.h')
-rw-r--r--gdbsupport/refcounted-object.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdbsupport/refcounted-object.h b/gdbsupport/refcounted-object.h
index d8fdb95..eca885c 100644
--- a/gdbsupport/refcounted-object.h
+++ b/gdbsupport/refcounted-object.h
@@ -56,15 +56,9 @@ private:
struct refcounted_object_ref_policy
{
- static void incref (refcounted_object *ptr)
- {
- ptr->incref ();
- }
+ static void incref (refcounted_object *ptr) { ptr->incref (); }
- static void decref (refcounted_object *ptr)
- {
- ptr->decref ();
- }
+ static void decref (refcounted_object *ptr) { ptr->decref (); }
};
#endif /* COMMON_REFCOUNTED_OBJECT_H */