mirror of
https://github.com/progsource/maddy.git
synced 2026-03-24 23:40:39 +01:00
Merge pull request #45 from Ivansstyle/fix_version_define
Refactored version() function in Parser class due to clashes with #define VERSION in various projects
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -10,3 +10,4 @@ Martin Kopecky (martin.kopecky357@gmail.com)
|
||||
Andrew Mettlach (dmmettlach@gmail.com)
|
||||
Evan Klitzke (evan@eklitzke.org)
|
||||
Albert Schwarzkopf (dev-maddy@quitesimple.org)
|
||||
Ivans Saponenko (ivans.saponenko+maddy@gmail.com)
|
||||
|
||||
@@ -14,7 +14,7 @@ maddy uses [semver versioning](https://semver.org/).
|
||||
|
||||
## Upcoming
|
||||
|
||||
* ?
|
||||
*  Parser.h version() method clashing with VERSION defines at global scope
|
||||
|
||||
## version 1.2.0 2023-07-27
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
* Check https://github.com/progsource/maddy/blob/master/CHANGELOG.md
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user