We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f17d180 commit c2226eeCopy full SHA for c2226ee
src/entt/graph/flow.hpp
@@ -194,7 +194,7 @@ class basic_flow {
194
* @return The requested identifier.
195
*/
196
[[nodiscard]] id_type operator[](const size_type pos) const {
197
- return vertices.cbegin()[pos];
+ return vertices.cbegin()[static_cast<typename task_container_type::difference_type>(pos)];
198
}
199
200
/*! @brief Clears the flow builder. */
0 commit comments