Compile fixes

This commit is contained in:
baldurk
2020-11-18 19:05:03 +00:00
parent 0aefcced95
commit 916c431dfa
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -732,6 +732,11 @@ passed nothing will happen.
:param ``list`` of ``str`` options: The new options for the combo box.
)");
virtual void SetComboOptions(QWidget *combo, const rdcarray<rdcstr> &options) = 0;
protected:
DOCUMENT("");
IMiniQtHelper() = default;
~IMiniQtHelper() = default;
};
DECLARE_REFLECTION_STRUCT(IMiniQtHelper);
@@ -64,6 +64,7 @@ struct ExceptionHandler
this->~ExceptionHandler();
m_storage = o.m_storage;
m_storage->m_ref++;
return *this;
}
ExceptionData &data() { return m_storage->data; }
const ExceptionData &data() const { return m_storage->data; }
@@ -74,7 +75,7 @@ private:
{
ExceptionData data;
bool valid = true;
std::atomic_int32_t m_ref;
std::atomic<int32_t> m_ref;
};
Storage *m_storage = NULL;
};