Skip to content

Commit

Permalink
Mark the strided_dataset::view as deleted (pure virtual) to avoid lin…
Browse files Browse the repository at this point in the history
…ker errors
  • Loading branch information
achirkin committed Mar 20, 2024
1 parent 16ddb13 commit 317c67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/neighbors/dataset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct strided_dataset : public dataset<IdxT> {
return static_cast<uint32_t>(v.stride(0) > 0 ? v.stride(0) : v.extent(1));
}
/** Get the view of the data. */
[[nodiscard]] virtual auto view() const noexcept -> view_type;
[[nodiscard]] virtual auto view() const noexcept -> view_type = 0;
};

template <typename DataT, typename IdxT>
Expand Down

0 comments on commit 317c67f

Please sign in to comment.