diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:40:02 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:40:02 +0000 |
| commit | 65efde32c99b8119d3c55729508b92801b60cc13 (patch) | |
| tree | 6d673dc96b5ea1b61e8377f6f071d205a18e9e58 /src/helpers/MiscFunctions.hpp | |
| parent | 69e314207d193eb67be0ae153d50c6c6bcee4b60 (diff) | |
internal: make getPlusMinusKeywordResult return optional
Diffstat (limited to 'src/helpers/MiscFunctions.hpp')
| -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 b2fe5858..90479121 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -27,7 +27,7 @@ void logSystemInfo(); std::string execAndGet(const char*); int64_t getPPIDof(int64_t pid); int64_t configStringToInt(const std::string&); -float getPlusMinusKeywordResult(std::string in, float relative); +std::optional<float> getPlusMinusKeywordResult(std::string in, float relative); void matrixProjection(float mat[9], int w, int h, wl_output_transform tr); double normalizeAngleRad(double ang); std::string replaceInString(std::string subject, const std::string& search, const std::string& replace); |
