forked from boostorg/type_index
Fixed name demangling for cvr_saved types
This commit is contained in:
1 parent
5c4082cddf
commit
65953f8793
3 files changed
+7
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user