Use fully qualified name in PYBIND11_DESCR macro

This commit is contained in:
Ivan Smirnov 2016-08-02 20:00:55 +01:00
parent ad5ca6d4e6
commit 3768b6abf9

View File

@ -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)