aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/variant-wrapper.hh
diff options
context:
space:
mode:
authorjade <lix@jade.fyi>2024-08-28 03:40:27 +0000
committerGerrit Code Review <gerrit@localhost>2024-08-28 03:40:27 +0000
commit5d31e889d7f3310cb030e85adcfd3ce64846457d (patch)
tree0d9f429cbed97e5320bbdd144128ab80c8d84ba4 /src/libutil/variant-wrapper.hh
parent0dc486a5bf218870aafd5552586ab4330881647e (diff)
parent0cc285f87b25365b6050753fba76713332185012 (diff)
Merge "treewide: fix a bunch of lints" into main
Diffstat (limited to 'src/libutil/variant-wrapper.hh')
-rw-r--r--src/libutil/variant-wrapper.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/variant-wrapper.hh b/src/libutil/variant-wrapper.hh
index cedcb999c..a809cd2a4 100644
--- a/src/libutil/variant-wrapper.hh
+++ b/src/libutil/variant-wrapper.hh
@@ -8,6 +8,7 @@
* Force the default versions of all constructors (copy, move, copy
* assignment).
*/
+// NOLINTBEGIN(bugprone-macro-parentheses)
#define FORCE_DEFAULT_CONSTRUCTORS(CLASS_NAME) \
CLASS_NAME(const CLASS_NAME &) = default; \
CLASS_NAME(CLASS_NAME &) = default; \
@@ -15,6 +16,7 @@
\
CLASS_NAME & operator =(const CLASS_NAME &) = default; \
CLASS_NAME & operator =(CLASS_NAME &) = default;
+// NOLINTEND(bugprone-macro-parentheses)
/**
* Make a wrapper constructor. All args are forwarded to the