refs #437 Adjust static assert, caught one more case of CVariant containing CVariant.

This commit is contained in:
Mathew Sutcliffe
2015-06-01 18:00:16 +01:00
parent 6a2af9d387
commit 8db8fdef94
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ namespace BlackMisc
bool isEmpty() const { return this->m_values.isEmpty(); }
//! Value
CVariant value(const CPropertyIndex &index) const { return CVariant::from(this->m_values.value(index)); }
CVariant value(const CPropertyIndex &index) const { return this->m_values.value(index); }
//! Set value
void value(const CPropertyIndex &index, const CVariant &value) { this->m_values.value(index, value); }