diff options
Diffstat (limited to 'GcodeProcessorLib/utilities.h')
-rw-r--r-- | GcodeProcessorLib/utilities.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GcodeProcessorLib/utilities.h b/GcodeProcessorLib/utilities.h index 2a79d80..a109a98 100644 --- a/GcodeProcessorLib/utilities.h +++ b/GcodeProcessorLib/utilities.h @@ -22,7 +22,6 @@ #pragma once #include <string> - class utilities{ public: static bool is_zero(double x); @@ -32,7 +31,7 @@ public: static bool greater_than_or_equal(double x, double y); static bool less_than(double x, double y); static bool less_than_or_equal(double x, double y); - + // custom tolerance functions static bool is_zero(double x, double tolerance); static bool is_equal(double x, double y, double tolerance); @@ -49,6 +48,7 @@ public: static std::string rtrim(const std::string& s); static std::string trim(const std::string& s); static std::istream& safe_get_line(std::istream& is, std::string& t); + protected: static const std::string WHITESPACE_; private: |