Fix CI build errors

This commit is contained in:
yhirose
2026-02-21 08:14:47 -05:00
parent 2280f1d191
commit 9b9bda6b6e
2 changed files with 15 additions and 1 deletions
+2
View File
@@ -3020,7 +3020,9 @@ TEST(AnyTest, BasicOperations) {
EXPECT_EQ(42, httplib::any_cast<int>(b));
// any_cast (value form) throws on type mismatch
#ifndef CPPHTTPLIB_NO_EXCEPTIONS
EXPECT_THROW(httplib::any_cast<std::string>(b), httplib::bad_any_cast);
#endif
// Copy
httplib::any c = b;