Skip to content

Commit

Permalink
Use fully qualified name in PYBIND11_DESCR macro
Browse files Browse the repository at this point in the history
  • Loading branch information
aldanor committed Aug 2, 2016
1 parent 7e9d7c4 commit 733142a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/descr.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ PYBIND11_NOINLINE inline descr concat(descr &&d) { return d; }
template <typename... Args> PYBIND11_NOINLINE descr concat(descr &&d, Args&&... args) { return std::move(d) + _(", ") + concat(std::forward<Args>(args)...); }
PYBIND11_NOINLINE inline descr type_descr(descr&& d) { return _("{") + std::move(d) + _("}"); }

#define PYBIND11_DESCR descr
#define PYBIND11_DESCR ::pybind11::detail::descr
#endif

NAMESPACE_END(detail)
Expand Down

0 comments on commit 733142a

Please sign in to comment.