diff --git a/src/hpx/kokkos/make_instance.hpp b/src/hpx/kokkos/make_instance.hpp index 0a04482..b888144 100644 --- a/src/hpx/kokkos/make_instance.hpp +++ b/src/hpx/kokkos/make_instance.hpp @@ -70,7 +70,7 @@ make_independent_execution_space_instance() { template <> inline Kokkos::Experimental::HPX make_independent_execution_space_instance() { - return {Kokkos::Experimental::HPX::instance_mode::independent}; + return Kokkos::Experimental::HPX(Kokkos::Experimental::HPX::instance_mode::independent); } #endif } // namespace detail