Refactored version() function in Parser class due to clashes with defines

This commit is contained in:
Ivans Saponenko
2023-08-01 11:19:31 +03:00
parent cc7f95f4c1
commit 9bcb7ce6dd

View File

@@ -57,7 +57,7 @@ public:
* Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md * Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md
* for the changelog. * for the changelog.
*/ */
static const std::string VERSION() { static const std::string v = "1.2.0"; return v; } static const std::string version() { static const std::string v = "1.2.0"; return v; }
/** /**
* ctor * ctor