diff options
| author | Mr. Myxa <thisisandrew0110@gmail.com> | 2026-03-17 20:14:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-17 15:14:30 -0400 |
| commit | 775951783c2e820ead180aca4356d4a98df9d17a (patch) | |
| tree | b00bc68cc05bf2bdb273d5cd7e53c547a2728a8b /src | |
| parent | aef76309d812c19c393b7fd01cea1768e27770c8 (diff) | |
misc: fix missing noreturn attribute for throwError (#13746)
Diffstat (limited to 'src')
| -rw-r--r-- | src/helpers/MiscFunctions.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/MiscFunctions.hpp b/src/helpers/MiscFunctions.hpp index 437cfcb4..b01c2bb8 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -35,7 +35,7 @@ Vector2D configStringToVector2D(const std::string std::optional<float> getPlusMinusKeywordResult(std::string in, float relative); double normalizeAngleRad(double ang); std::vector<SCallstackFrameInfo> getBacktrace(); -void throwError(const std::string& err); +[[noreturn]] void throwError(const std::string& err); Hyprutils::OS::CFileDescriptor allocateSHMFile(size_t len); bool allocateSHMFilePair(size_t size, Hyprutils::OS::CFileDescriptor& rw_fd_ptr, Hyprutils::OS::CFileDescriptor& ro_fd_ptr); float stringToPercentage(const std::string& VALUE, const float REL); |
