mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 09:46:10 +00:00
Remove unnecessary braces.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user