From 5f3ee3100a35794092f009a8151ba51ecac58c60 Mon Sep 17 00:00:00 2001 From: abkein Date: Sat, 7 Dec 2024 01:56:28 +0300 Subject: [PATCH] Marked multitype's default constructor as noexcept, b/c it is --- src/lmptype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lmptype.h b/src/lmptype.h index d2181c98986..ab3c97d5ada 100644 --- a/src/lmptype.h +++ b/src/lmptype.h @@ -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;