We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b01e00 + c07cec2 commit ba12e28Copy full SHA for ba12e28
System/Semver200/version.inl
@@ -67,15 +67,7 @@ namespace version {
67
template<typename Parser, typename Comparator, typename Modifier>
68
const std::string Basic_version<Parser, Comparator, Modifier>::str() const {
69
std::stringstream buffer;
70
- buffer << ver_.major << "." << ver_.minor << "." << ver_.patch;
71
- std::string prl = prerelease();
72
- if (!prl.empty()) {
73
- buffer << "-" << prl;
74
- }
75
- std::string bld = build();
76
- if (!bld.empty()) {
77
- buffer << "+" << bld;
78
+ buffer << *this;
79
return buffer.str();
80
}
81
0 commit comments