Changeset 810 in dev for branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Namespace.cpp
- Timestamp:
- Feb 14, 2011, 12:58:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/ab_common/src/Lexical/Namespace.cpp
r736 r810 16 16 std::string tempName = namespaceStr.substr( i, i2-i ); 17 17 18 push_back( tempName);18 push_back(std::move(tempName)); 19 19 20 20 if( i2 == std::string::npos ){ … … 26 26 } 27 27 28 NamespaceScopes NamespaceScopes::operator+ ( const NamespaceScopes &namespaceScopes ) const28 NamespaceScopes ActiveBasic::Common::Lexical::operator +(const NamespaceScopes &lhs, const NamespaceScopes &rhs) 29 29 { 30 NamespaceScopes result; 31 result.reserve( this->size() + namespaceScopes.size() ); 32 result = *this; 33 result.append( namespaceScopes ); 34 return result; 30 return NamespaceScopes(lhs) += rhs; 35 31 } 36 32
Note:
See TracChangeset
for help on using the changeset viewer.