mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Change features default behavior in Env (RIPD-1460):
Enable all supported amendments in Env by default. Rename `features()` to `with_features()` and add `all_features_except()` to support feature subsets in Env. Refactor internal feature handling based on a bitset.
This commit is contained in:
@@ -739,8 +739,10 @@ public:
|
||||
testSupportedAmendments ()
|
||||
{
|
||||
for (auto const& amend : detail::supportedAmendments ())
|
||||
BEAST_EXPECT(amend.substr (0, 64) ==
|
||||
to_string (feature (amend.substr (65))));
|
||||
{
|
||||
auto const f = getRegisteredFeature(amend.substr (65));
|
||||
BEAST_EXPECT(f && amend.substr (0, 64) == to_string (*f));
|
||||
}
|
||||
}
|
||||
|
||||
void run ()
|
||||
|
||||
Reference in New Issue
Block a user