Fix -Wnonnull warnings

This commit is contained in:
Mohammad Nejati
2024-06-01 18:54:19 +03:30
committed by Mohammad Nejati
parent 8da9a776ff
commit 146de67f5e
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ public:
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);
BEAST_EXPECT(ec.message() != "");
BEAST_EXPECT(make_error_condition(c).message() != "");
}
void run() override