Skip to content

Infinite recursion in window_w32.cpp. #22765

@dan-masek

Description

@dan-masek

static inline
std::shared_ptr<CvTrackbar> icvFindTrackbarByName(const std::shared_ptr<CvWindow>& window, const std::string& name)
{
CV_Assert(window);
return icvFindTrackbarByName(window, name);
}

Looks like there's a dereference missing on window in the return statement, so that the overload taking CvWindow& gets invoked.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions