Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
fe1392d0
Unverified
Commit
fe1392d0
authored
Jul 12, 2020
by
Florian Apolloner
Committed by
GitHub
Jul 12, 2020
Browse files
Silence Clang 10 compiler warnings. Fixes #2225. (#2294)
parent
8b9eb964
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/detail/common.h
include/pybind11/detail/common.h
+1
-1
No files found.
include/pybind11/detail/common.h
View file @
fe1392d0
...
...
@@ -676,7 +676,7 @@ inline void ignore_unused(const int *) { }
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) (((PATTERN), void()), ...)
#else
using
expand_side_effects
=
bool
[];
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN)
(void)
pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
#endif
PYBIND11_NAMESPACE_END
(
detail
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment