You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code generates warnings in Visual Studio about the type of size in reverse_helper.h:
QVector<int> a{ 1,2,3 };
auto b = kdalgorithms::filtered(a,
[](const auto& i) { return i % 2; });
1>...\kdalgorithms\bits\reserve_helper.h(27,5): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>...kdalgorithms\bits\reserve_helper.h(36,5): message : see reference to function template instantiation 'bool kdalgorithms::detail::reserve_helper<Container>(Container &,size_t,std::true_type)' being compiled
1> with
1> [
1> Container=QVector<int>
1> ]
The text was updated successfully, but these errors were encountered:
I'm using kdalgorithms with Qt 5.15.12.
The following code generates warnings in Visual Studio about the type of
size
in reverse_helper.h:The text was updated successfully, but these errors were encountered: