Add non-allocating overload for error category message function

Fixes #2646
This commit is contained in:
Mohammad Nejati
2024-01-03 18:21:52 +03:30
committed by Mohammad Nejati
parent 5998feda44
commit 9e16754dd5
9 changed files with 72 additions and 17 deletions
+2
View File
@@ -36,6 +36,8 @@ public:
static_cast<std::underlying_type<error>::type>(ev))));
BEAST_EXPECT(cat.equivalent(ec,
static_cast<std::underlying_type<error>::type>(ev)));
BEAST_EXPECT(ec.message(nullptr, 0) != nullptr);
}
void