[vte/vte-0-54] modes: Use parentheses in macro
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-54] modes: Use parentheses in macro
- Date: Sat, 6 Oct 2018 22:26:49 +0000 (UTC)
commit 85f8e4958702b296ceab12dd93616f2e549427b6
Author: Christian Persch <chpe src gnome org>
Date: Sun Oct 7 00:26:19 2018 +0200
modes: Use parentheses in macro
(cherry picked from commit e9129cb8f408d7970e8fb32c845075aa52233e26)
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]