mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-21 22:33:24 +08:00
Remove unnecessary braces.
This commit is contained in:
parent
c6e0cdfa54
commit
b8f2d1886c
@ -40,7 +40,7 @@ template <typename T> struct arg_t : public arg {
|
||||
|
||||
inline namespace literals {
|
||||
/// String literal version of arg
|
||||
constexpr arg operator"" _a(const char *name, size_t) { return {arg(name)}; }
|
||||
constexpr arg operator"" _a(const char *name, size_t) { return arg(name); }
|
||||
}
|
||||
|
||||
/// Annotation for methods
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user