From b23f260d21d1cf81543e75a3f25a415932ba1d90 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 16 Apr 2021 17:43:31 +0200 Subject: [PATCH] Move glib include out of PBD namespace strictly speaking the include is not needed here since g_atomic_compat.h includes glib.h. However it is idempotent, the file does use glib methods, and g_atomic_compat.h may one day be removed again. --- libs/pbd/pbd/atomic_counter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/pbd/pbd/atomic_counter.h b/libs/pbd/pbd/atomic_counter.h index 9aac0c209a..b1f33e9450 100644 --- a/libs/pbd/pbd/atomic_counter.h +++ b/libs/pbd/pbd/atomic_counter.h @@ -20,11 +20,12 @@ #ifndef PBD_ATOMIC_COUNTER_H #define PBD_ATOMIC_COUNTER_H +#include + #include "pbd/g_atomic_compat.h" namespace PBD { -#include class atomic_counter { /**