diff --git a/Runtime/GuiSys/CHudDecoInterface.hpp b/Runtime/GuiSys/CHudDecoInterface.hpp index ab4ab5c83..459f21076 100644 --- a/Runtime/GuiSys/CHudDecoInterface.hpp +++ b/Runtime/GuiSys/CHudDecoInterface.hpp @@ -53,7 +53,7 @@ class CHudDecoInterfaceCombat : public IHudDecoInterface { void UpdateVisibility(); public: - CHudDecoInterfaceCombat(CGuiFrame& selHud); + explicit CHudDecoInterfaceCombat(CGuiFrame& selHud); void SetIsVisibleDebug(bool v) override; void SetIsVisibleGame(bool v) override; void SetHudRotation(const zeus::CQuaternion& rot) override; @@ -142,7 +142,7 @@ class CHudDecoInterfaceXRay : public IHudDecoInterface { void UpdateVisibility(); public: - CHudDecoInterfaceXRay(CGuiFrame& selHud); + explicit CHudDecoInterfaceXRay(CGuiFrame& selHud); void SetIsVisibleDebug(bool v) override; void SetIsVisibleGame(bool v) override; void SetHudRotation(const zeus::CQuaternion& rot) override; @@ -175,7 +175,7 @@ class CHudDecoInterfaceThermal : public IHudDecoInterface { void UpdateVisibility(); public: - CHudDecoInterfaceThermal(CGuiFrame& selHud); + explicit CHudDecoInterfaceThermal(CGuiFrame& selHud); void SetIsVisibleDebug(bool v) override; void SetIsVisibleGame(bool v) override; void SetHudRotation(const zeus::CQuaternion& rot) override; diff --git a/Runtime/GuiSys/CScanDisplay.hpp b/Runtime/GuiSys/CScanDisplay.hpp index b879767f6..15ea47f0d 100644 --- a/Runtime/GuiSys/CScanDisplay.hpp +++ b/Runtime/GuiSys/CScanDisplay.hpp @@ -43,7 +43,7 @@ public: CTexturedQuadFilter m_quad; public: - CDataDot(const TLockedToken& dataDotTex) : m_quad(EFilterType::Add, dataDotTex) {} + explicit CDataDot(const TLockedToken& dataDotTex) : m_quad(EFilterType::Add, dataDotTex) {} void Update(float dt); void Draw(const zeus::CColor& color, float radius) const; float GetTransitionFactor() const { return x1c_transDur > 0.f ? x20_remTime / x1c_transDur : 0.f; } @@ -84,7 +84,7 @@ private: static void SetScanMessageTypeEffect(CGuiTextPane* pane, bool type); public: - CScanDisplay(const CGuiFrame& selHud); + explicit CScanDisplay(const CGuiFrame& selHud); void ProcessInput(const CFinalInput& input); void StartScan(TUniqueId id, const CScannableObjectInfo& scanInfo, CGuiTextPane* message, CGuiTextPane* scrollMessage, CGuiWidget* textGroup, CGuiModel* xmark, CGuiModel* abutton, CGuiModel* dash, float scanTime);