diff --git a/src/Add-ons/AddonVersion.cxx b/src/Add-ons/AddonVersion.cxx index 49097f549..26c93f7f0 100644 --- a/src/Add-ons/AddonVersion.cxx +++ b/src/Add-ons/AddonVersion.cxx @@ -95,7 +95,7 @@ AddonVersionSuffix::releaseTypeStr(AddonVersionSuffixPrereleaseType releaseType) return string(); default: throw sg_error("unexpected value for member of " - "flightgear::AddonVersionSuffixPrereleaseType: " + + "flightgear::addons::AddonVersionSuffixPrereleaseType: " + std::to_string(enumValue(releaseType))); } } diff --git a/src/Add-ons/AddonVersion.hxx b/src/Add-ons/AddonVersion.hxx index 65dc9e307..da3c3888b 100644 --- a/src/Add-ons/AddonVersion.hxx +++ b/src/Add-ons/AddonVersion.hxx @@ -146,7 +146,7 @@ public: explicit AddonVersion(const std::tuple& t); // 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 // standard headers as *macros*! //