Skip to content

Commit

Permalink
Merge pull request acts-project#285 from stephenswat/fix/implicit_ato…
Browse files Browse the repository at this point in the history
…mic_ref_constructor

Make atomic reference constructor explicit
  • Loading branch information
krasznaa authored Jul 1, 2024
2 parents ec5ee03 + c4df078 commit 140c5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/vecmem/memory/device_atomic_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class device_atomic_ref {

/// Constructor, with a pointer to the managed variable
VECMEM_HOST_AND_DEVICE
device_atomic_ref(reference ref);
explicit device_atomic_ref(reference ref);
/// Copy constructor
VECMEM_HOST_AND_DEVICE
device_atomic_ref(const device_atomic_ref& parent);
Expand Down

0 comments on commit 140c5ab

Please sign in to comment.