Skip to content

Commit b07bddc

Browse files
Merge pull request #24 from rblenkinsopp/patch-1
Replace C++20 designated initializers in tests
2 parents c6aef59 + 3d9c32f commit b07bddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Countly::HTTPResponse fakeSendHTTP(bool use_post, const std::string& url, const
6868

6969
http_call_queue.push_back(http_call);
7070

71-
Countly::HTTPResponse response { .success = false, .data = json::object() };
71+
Countly::HTTPResponse response { false, json::object() };
7272

7373
if (http_call.url == "/i") {
7474
response.success = true;

0 commit comments

Comments
 (0)