File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ class alignas(16) mutable_column_device_view_core : public detail::column_device
586586 */
587587 template <typename T = void ,
588588 CUDF_ENABLE_IF (cuda::std::is_same_v<T, void > or is_rep_layout_compatible<T>())>
589- CUDF_HOST_DEVICE T* head () const noexcept
589+ [[nodiscard]] CUDF_HOST_DEVICE T* head () const noexcept
590590 {
591591 return const_cast <T*>(detail::column_device_view_base::head<T>());
592592 }
@@ -604,7 +604,7 @@ class alignas(16) mutable_column_device_view_core : public detail::column_device
604604 * @return Typed pointer to underlying data, including the offset
605605 */
606606 template <typename T, CUDF_ENABLE_IF (is_rep_layout_compatible<T>())>
607- CUDF_HOST_DEVICE T* data () const noexcept
607+ [[nodiscard]] CUDF_HOST_DEVICE T* data () const noexcept
608608 {
609609 return const_cast <T*>(detail::column_device_view_base::data<T>());
610610 }
You can’t perform that action at this time.
0 commit comments