Skip to content

Commit 8ba4239

Browse files
committed
Be more explicit in make_unique for AppleClang
1 parent cc51677 commit 8ba4239

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ClientTests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ TEST_F(ClientCase, MutateCompleteTask)
132132
using namespace client::mutation::CompleteTaskMutation;
133133

134134
auto query = GetRequestObject();
135-
auto variables =
136-
serializeVariables({ std::make_unique<Variables::CompleteTaskInput>(today::getFakeTaskId(),
135+
auto variables = serializeVariables({ std::make_unique<Variables::CompleteTaskInput>(
136+
Variables::CompleteTaskInput { today::getFakeTaskId(),
137137
std::nullopt,
138138
std::make_optional(true),
139-
std::make_optional("Hi There!"s)) });
139+
std::make_optional("Hi There!"s) }) });
140140

141141
auto state = std::make_shared<today::RequestState>(5);
142142
auto result =

0 commit comments

Comments
 (0)