Skip to content

Commit 28c7400

Browse files
committed
Updated tests to work using Boost 1.56 (cf. Boost.Optional).
1 parent 4d35eaf commit 28c7400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/test/v2/client/units/request_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ TEST(request_test, get_header) {
186186
;
187187

188188
auto header = instance.header("User-Agent");
189-
ASSERT_TRUE(header);
189+
ASSERT_TRUE(static_cast<bool>(header));
190190
ASSERT_EQ("request_test", *header);
191191
}
192192

0 commit comments

Comments
 (0)