Skip to content

Commit

Permalink
Guard using-declaration in Impl:: namespace with #ifdef KOKKOS_ENABLE…
Browse files Browse the repository at this point in the history
…_DEPRECATED_CODE_4
  • Loading branch information
dalg24 committed Jan 24, 2023
1 parent 5304a40 commit e91f7e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/impl/Kokkos_ViewMapping.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,11 @@ struct ALL_t {
constexpr bool operator==(const ALL_t&) const { return true; }
};

#ifdef KOKKOS_ENABLE_DEPRECATED_CODE_4
namespace Impl {
using Kokkos::ALL_t;
} // namespace Impl
#endif
} // namespace Kokkos

namespace Kokkos {
Expand Down

0 comments on commit e91f7e8

Please sign in to comment.