mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
Issue #77 Add class CPropertyIndexRef
This is a reference to a CPropertyIndex with a subset of its API, and fewer dependencies.
This commit is contained in:
@@ -32,6 +32,11 @@ namespace BlackMisc
|
||||
this->parseFromString(indexes);
|
||||
}
|
||||
|
||||
CPropertyIndex::operator CPropertyIndexRef() const
|
||||
{
|
||||
return CPropertyIndexRef(m_indexes);
|
||||
}
|
||||
|
||||
CPropertyIndex CPropertyIndex::copyFrontRemoved() const
|
||||
{
|
||||
BLACK_VERIFY_X(!this->isEmpty(), Q_FUNC_INFO, "Empty index");
|
||||
|
||||
Reference in New Issue
Block a user