Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const InstanceSpecifier kInstanceSpecifier =
void CallMethodWithInArgsAndReturn(NonTrivialConstructorProxy& proxy, const std::string& failure_message_prefix)
{
auto call_result =
[&proxy, &failure_message_prefix]() -> score::Result<impl::MethodReturnTypePtr<NonTriviallyConstructibleType>> {
[&proxy]() -> score::Result<impl::MethodReturnTypePtr<NonTriviallyConstructibleType>> {
std::cout << "\n=== Test: with_in_args_and_return (zero-copy) ===" << std::endl;
auto allocated_args_result = proxy.with_in_args_and_return.Allocate();
if (!allocated_args_result.has_value())
Expand Down Expand Up @@ -66,7 +66,7 @@ void CallMethodWithInArgsAndReturn(NonTrivialConstructorProxy& proxy, const std:

void CallMethodWithInArgsOnly(NonTrivialConstructorProxy& proxy, const std::string& failure_message_prefix)
{
auto call_result = [&proxy, &failure_message_prefix]() -> Result<void> {
auto call_result = [&proxy]() -> Result<void> {
std::cout << "\n=== Test: with_in_args_only (zero-copy) ===" << std::endl;
auto allocated_args_result = proxy.with_in_args_only.Allocate();
if (!allocated_args_result.has_value())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ const auto kInstanceSpecifier =
score::mw::com::InstanceSpecifier::Create(std::string{kInstanceSpecifierString}).value();
const std::chrono::seconds kMaxHandleNotificationWaitTime{15U};
// uid 1312, 1313 is reserved for use. See broken_link_cf/display/ipnext/User+Management
const uid_t kUidFirstConsumer{1312};
const uid_t kUidSecondConsumer{1313};
[[maybe_unused]] const uid_t kUidFirstConsumer{1312};
[[maybe_unused]] const uid_t kUidSecondConsumer{1313};

bool StartFindServiceAndWait(const std::string& tag,
HandleNotificationData& handle_notification_data,
Expand Down
Loading