forked from quickshell/quickshell
ci: run lints and test compile on arch
This commit is contained in:
parent
9b409c0e38
commit
e957e88ccb
8 changed files with 86 additions and 28 deletions
|
@ -85,9 +85,7 @@ class ObjectModel: public UntypedObjectModel {
|
|||
public:
|
||||
explicit ObjectModel(QObject* parent): UntypedObjectModel(parent) {}
|
||||
|
||||
[[nodiscard]] QVector<T*>& valueList() {
|
||||
return *std::bit_cast<QVector<T*>*>(&this->valuesList);
|
||||
}
|
||||
[[nodiscard]] QVector<T*>& valueList() { return *std::bit_cast<QVector<T*>*>(&this->valuesList); }
|
||||
|
||||
[[nodiscard]] const QVector<T*>& valueList() const {
|
||||
return *std::bit_cast<const QVector<T*>*>(&this->valuesList);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue