Skip to content

Windows compilation of RetryStateImpl::shouldHedgeRetryPerTryTimeout impl fails #7736

@wrowe

Description

@wrowe

Windows compilation using MSBuild 15.9, we cannot get this simple line of code, introduced two months ago, to compile;

return shouldRetry([]() -> bool { return true; }, callback);

source/common/router/retry_state_impl.cc(228): error C2664: 'Envoy::Router::RetryStatus Envoy::Router::RetryStateImpl::shouldRetry(bool,Envoy::Router::RetryState::DoRetryCallback)': cannot convert argument 1 from 'Envoy::Router::RetryStateImpl::shouldHedgeRetryPerTryTimeout::<lambda_f5b81d16bf43f4b112188693c10b6098>' to 'bool'
source/common/router/retry_state_impl.cc(228): note: Ambiguous user-defined-conversion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions