Treat all 1.17 builds as dev versions, including non-canonical ones

This controls whether the "show deprecation warnings" preference defaults to
on or off. It seemed odd to have that default to on for the official 1.17.x
releases, yet default to off for local builds which developers are fixing.
This commit is contained in:
Steve Cotton 2022-02-13 19:20:49 +01:00 committed by Steve Cotton
parent 691c157124
commit 9c810afaf3

View File

@ -172,7 +172,7 @@ bool version_info::is_canonical() const {
}
bool version_info::is_dev_version() const {
return is_canonical() && is_odd(minor_version());
return is_odd(minor_version());
}
namespace {