Merge pull request #24008 from iarspider:patch-1

test_houghlines: Fix C++20 compatibility
This commit is contained in:
Alexander Smorkalov 2023-07-18 15:37:43 +03:00 committed by GitHub
commit 81f07f001e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ struct SimilarWith
T value;
float theta_eps;
float rho_eps;
SimilarWith<T>(T val, float e, float r_e): value(val), theta_eps(e), rho_eps(r_e) { };
SimilarWith(T val, float e, float r_e): value(val), theta_eps(e), rho_eps(r_e) { };
bool operator()(const T& other);
};