From e7b28ab8d99c43aeb3419c52eeada0bf83cdd4a6 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 30 Sep 2019 14:31:26 -0500 Subject: [PATCH] Removing default values for set_id args as requested by @paulromano. --- include/openmc/material.h | 2 +- include/openmc/tallies/filter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openmc/material.h b/include/openmc/material.h index 8771b372a..70c6b3852 100644 --- a/include/openmc/material.h +++ b/include/openmc/material.h @@ -120,7 +120,7 @@ public: //! Assign a unique ID to the material //! \param[in] Unique ID to assign. A value of -1 indicates that an ID //! should be automatically assigned. - void set_id(int32_t id = -1); + void set_id(int32_t id); //! Get whether material is fissionable //! \return Whether material is fissionable diff --git a/include/openmc/tallies/filter.h b/include/openmc/tallies/filter.h index b25110e07..ba6ca0883 100644 --- a/include/openmc/tallies/filter.h +++ b/include/openmc/tallies/filter.h @@ -104,7 +104,7 @@ public: //! Assign a unique ID to the filter //! \param[in] Unique ID to assign. A value of -1 indicates that an ID should //! be automatically assigned - void set_id(int32_t id = -1); + void set_id(int32_t id); //! Get number of bins //! \return Number of bins