Add [[nodiscard]] to functions which need it in settings files

This commit is contained in:
AdenKoperczak 2025-01-29 10:06:46 -05:00
parent ba62004002
commit 36339e613f
14 changed files with 96 additions and 88 deletions

View file

@ -23,11 +23,11 @@ public:
AlertPaletteSettings(AlertPaletteSettings&&) noexcept;
AlertPaletteSettings& operator=(AlertPaletteSettings&&) noexcept;
LineSettings&
[[nodiscard]] LineSettings&
threat_category(awips::ibw::ThreatCategory threatCategory) const;
LineSettings& inactive() const;
LineSettings& observed() const;
LineSettings& tornado_possible() const;
[[nodiscard]] LineSettings& inactive() const;
[[nodiscard]] LineSettings& observed() const;
[[nodiscard]] LineSettings& tornado_possible() const;
friend bool operator==(const AlertPaletteSettings& lhs,
const AlertPaletteSettings& rhs);