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,9 @@ public:
|
||||
BEAST_EXPECT(ec.category().name() != nullptr);
|
||||
BEAST_EXPECT(! ec.message().empty());
|
||||
BEAST_EXPECT(ec == c);
|
||||
|
||||
BEAST_EXPECT(ec.message(nullptr, 0) != nullptr);
|
||||
BEAST_EXPECT(make_error_condition(c).message(nullptr, 0) != nullptr);
|
||||
}
|
||||
|
||||
void run() override
|
||||
|
||||
Reference in New Issue
Block a user