Fixed name demangling for cvr_saved types

This commit is contained in:
Antony Polukhin committed 2013-10-17 10:28:49 +04:00
1 parent 5c4082cddf
commit 65953f8793
3 files changed
+7 -2

No files matched your search

+1 -2
View File
@@ -184,13 +184,12 @@ public:
return ret;
}
pos += sizeof("boost::detail::cvr_saver<");
pos += sizeof("boost::detail::cvr_saver<") - 1;
while (ret[pos] == ' ') {
++ pos;
}
std::string::size_type end = ret.rfind(">");
BOOST_ASSERT(end != std::string::npos);
-- end;
while (ret[end] == ' ') {
-- end;
}