Skip to content

Commit

Permalink
Marked multitype's default constructor as noexcept, b/c it is
Browse files Browse the repository at this point in the history
  • Loading branch information
abkein committed Dec 6, 2024
1 parent cd16308 commit 5f3ee31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmptype.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ struct multitype {
int64_t b;
} data;

multitype() : type(LAMMPS_NONE) { data.d = 0.0; }
multitype() noexcept : type(LAMMPS_NONE) { data.d = 0.0; }
multitype(const multitype &) = default;
multitype(multitype &&) = default;
~multitype() = default;
Expand Down

0 comments on commit 5f3ee31

Please sign in to comment.