From df0edc33b179374d7cb7a35d862641229be355e9 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Tue, 21 Jan 2020 20:43:42 +0000 Subject: [PATCH] removed unnecessary include, and reset particles buffer to unique_ptr type. --- include/openmc/event.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/openmc/event.h b/include/openmc/event.h index 90ff8c3fca..d4c3550b96 100644 --- a/include/openmc/event.h +++ b/include/openmc/event.h @@ -5,7 +5,6 @@ //! \brief Event-based data structures and methods #include "openmc/particle.h" -#include "openmc/tallies/filter.h" namespace openmc { @@ -83,7 +82,7 @@ extern int64_t collision_queue_length; // Particle buffer. This is an allocated pointer rather than a vector as it // will be shared between threads, so most vector methods would result in // undefined or unintended behavior. -extern std::vector particles; +extern std::unique_ptr particles; } // namespace simulation