Add-ons: update namespace in a string and a comment
These were forgotten in commit f5ab26bd71
.
This commit is contained in:
parent
31de119169
commit
7d2f35c7e3
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ AddonVersionSuffix::releaseTypeStr(AddonVersionSuffixPrereleaseType releaseType)
|
||||||
return string();
|
return string();
|
||||||
default:
|
default:
|
||||||
throw sg_error("unexpected value for member of "
|
throw sg_error("unexpected value for member of "
|
||||||
"flightgear::AddonVersionSuffixPrereleaseType: " +
|
"flightgear::addons::AddonVersionSuffixPrereleaseType: " +
|
||||||
std::to_string(enumValue(releaseType)));
|
std::to_string(enumValue(releaseType)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,7 +146,7 @@ public:
|
||||||
explicit AddonVersion(const std::tuple<int, int, int, AddonVersionSuffix>& t);
|
explicit AddonVersion(const std::tuple<int, int, int, AddonVersionSuffix>& t);
|
||||||
|
|
||||||
// Using the method names major() and minor() can lead to incomprehensible
|
// Using the method names major() and minor() can lead to incomprehensible
|
||||||
// errors such as "major is not a member of flightgear::AddonVersion"
|
// errors such as "major is not a member of flightgear::addons::AddonVersion"
|
||||||
// because of a hideous glibc bug[1]: major() and minor() are defined by
|
// because of a hideous glibc bug[1]: major() and minor() are defined by
|
||||||
// standard headers as *macros*!
|
// standard headers as *macros*!
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue