diff --git a/qrenderdoc/Code/Interface/Extensions.h b/qrenderdoc/Code/Interface/Extensions.h index dd289522a..d8b6dbcf8 100644 --- a/qrenderdoc/Code/Interface/Extensions.h +++ b/qrenderdoc/Code/Interface/Extensions.h @@ -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 &options) = 0; + +protected: + DOCUMENT(""); + IMiniQtHelper() = default; + ~IMiniQtHelper() = default; }; DECLARE_REFLECTION_STRUCT(IMiniQtHelper); diff --git a/qrenderdoc/Code/pyrenderdoc/function_conversion.h b/qrenderdoc/Code/pyrenderdoc/function_conversion.h index a937ce4f1..498e5eb1a 100644 --- a/qrenderdoc/Code/pyrenderdoc/function_conversion.h +++ b/qrenderdoc/Code/pyrenderdoc/function_conversion.h @@ -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 m_ref; }; Storage *m_storage = NULL; };