Skip to content

Commit

Permalink
#11: fix more "annotation is ignored" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Sep 18, 2024
1 parent 0f32010 commit 1cdf063
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/TestCommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#ifndef INC_TEST_COMMON_HPP
#define INC_TEST_COMMON_HPP

#include <Kokkos_Macros.hpp>
#include <bvh/types.hpp>
#include <catch2/catch.hpp>

Expand All @@ -41,7 +42,6 @@
#include <bvh/kdop.hpp>
#include <bvh/patch.hpp>
#include <bvh/util/container.hpp>
#include <numeric>
#include <random>


Expand All @@ -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(); }
Expand Down

0 comments on commit 1cdf063

Please sign in to comment.