From 21fcb0c662b05c35427a0831bc255c0dfb936392 Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Mon, 28 Oct 2024 19:29:59 +0100
Subject: [PATCH] Add PUGS_CLASS_LAMBDA that allow this capture

---
 src/utils/PugsMacros.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/utils/PugsMacros.hpp b/src/utils/PugsMacros.hpp
index eb0697ba8..7248bad4b 100644
--- a/src/utils/PugsMacros.hpp
+++ b/src/utils/PugsMacros.hpp
@@ -9,6 +9,7 @@
 #define PUGS_FORCEINLINE KOKKOS_FORCEINLINE_FUNCTION
 
 #define PUGS_LAMBDA KOKKOS_LAMBDA
+#define PUGS_CLASS_LAMBDA KOKKOS_CLASS_LAMBDA
 
 // Sets macro to ignore unknown pragma
 
-- 
GitLab