From 3768b6abf9e2f8c745985f44050330bd864c0c4c Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Tue, 2 Aug 2016 20:00:55 +0100 Subject: [PATCH] Use fully qualified name in PYBIND11_DESCR macro --- include/pybind11/descr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/descr.h b/include/pybind11/descr.h index 4123cc1b..e4a504e0 100644 --- a/include/pybind11/descr.h +++ b/include/pybind11/descr.h @@ -181,7 +181,7 @@ PYBIND11_NOINLINE inline descr concat(descr &&d) { return d; } template PYBIND11_NOINLINE descr concat(descr &&d, Args&&... args) { return std::move(d) + _(", ") + concat(std::forward(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)