[vte] modes: Use parentheses in macro
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] modes: Use parentheses in macro
- Date: Sat, 6 Oct 2018 21:08:54 +0000 (UTC)
commit e9129cb8f408d7970e8fb32c845075aa52233e26
Author: Christian Persch <chpe src gnome org>
Date: Sat Oct 6 23:08:28 2018 +0200
modes: Use parentheses in macro
src/modes.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/modes.hh b/src/modes.hh
index 89a0c78b..47d0b415 100644
--- a/src/modes.hh
+++ b/src/modes.hh
@@ -39,7 +39,7 @@ namespace modes {
#define MODE_FIXED_ACCESSOR(name,value) \
inline constexpr bool name() const noexcept \
{ \
- return value; \
+ return (value); \
}
template <typename T>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]