From 1cdf0630d72c1efba3c4ed2fc6a89a7f0d83750f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Wed, 18 Sep 2024 17:44:05 +0200 Subject: [PATCH] #11: fix more "annotation is ignored" warnings --- tests/TestCommon.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestCommon.hpp b/tests/TestCommon.hpp index 377f599..3c982e3 100644 --- a/tests/TestCommon.hpp +++ b/tests/TestCommon.hpp @@ -33,6 +33,7 @@ #ifndef INC_TEST_COMMON_HPP #define INC_TEST_COMMON_HPP +#include #include #include @@ -41,7 +42,6 @@ #include #include #include -#include #include @@ -54,10 +54,10 @@ class Element KOKKOS_INLINE_FUNCTION Element( std::size_t _index = static_cast< std::size_t >( -1 ) ) : m_index( _index ) {}; - KOKKOS_INLINE_FUNCTION Element( const Element &_other ) = default; - KOKKOS_INLINE_FUNCTION Element( Element &&_other ) noexcept = default; - KOKKOS_INLINE_FUNCTION Element &operator=( const Element &_other ) = default; - KOKKOS_INLINE_FUNCTION Element &operator=( Element &&_other ) noexcept = default; + KOKKOS_DEFAULTED_FUNCTION Element( const Element &_other ) = default; + KOKKOS_DEFAULTED_FUNCTION Element( Element &&_other ) noexcept = default; + KOKKOS_DEFAULTED_FUNCTION Element &operator=( const Element &_other ) = default; + KOKKOS_DEFAULTED_FUNCTION Element &operator=( Element &&_other ) noexcept = default; KOKKOS_INLINE_FUNCTION auto begin() { return m_vertices.data(); } KOKKOS_INLINE_FUNCTION auto begin() const { return m_vertices.data(); }