We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 432d478 commit a3d8a38Copy full SHA for a3d8a38
1 file changed
src/converter/registry.cpp
@@ -8,7 +8,6 @@
8
9
#include <set>
10
#include <stdexcept>
11
-#include <boost/lexical_cast.hpp>
12
13
#if defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__) \
14
&& __GNUC__ == 3 && __GNUC_MINOR__ <= 4 && !defined(__APPLE_CC__)
@@ -161,9 +160,9 @@ namespace registry
161
160
assert(slot == 0); // we have a problem otherwise
162
if (slot != 0)
163
{
164
- std::string msg(
165
- "to-Python converter for "
166
- + lexical_cast<std::string>(source_t)
+ std::string msg = (
+ std::string("to-Python converter for ")
+ + source_t.name()
167
+ " already registered; second conversion method ignored."
168
);
169
0 commit comments