changeset 2613 | 0e1267814e1c |
parent 2602 | d9262bff6df2 |
child 2631 | 365595f1f9a8 |
--- a/src/core/object.cc Sat Mar 15 16:26:39 2008 +0000 +++ b/src/core/object.cc Sat Mar 15 19:29:22 2008 +0100 @@ -427,7 +427,7 @@ bool TypeId::LookupAttributeByFullName (std::string fullName, struct TypeId::AttributeInfo *info) { - std::string::size_type pos = fullName.find ("::"); + std::string::size_type pos = fullName.rfind ("::"); if (pos == std::string::npos) { return 0;