forked from boostorg/beast
Add non-allocating overload for error category message function
Fixes #2646
This commit is contained in:
committed by
Mohammad Nejati
parent
5998feda44
commit
9e16754dd5
@@ -35,6 +35,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 run() override
|
||||
|
||||
Reference in New Issue
Block a user