aboutsummaryrefslogtreecommitdiff
path: root/src/bench/prevector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/prevector.cpp')
-rw-r--r--src/bench/prevector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/prevector.cpp b/src/bench/prevector.cpp
index 6343ed7848..b3688bab1b 100644
--- a/src/bench/prevector.cpp
+++ b/src/bench/prevector.cpp
@@ -10,8 +10,8 @@
#include <bench/bench.h>
struct nontrivial_t {
- int x;
- nontrivial_t() :x(-1) {}
+ int x{-1};
+ nontrivial_t() = default;
SERIALIZE_METHODS(nontrivial_t, obj) { READWRITE(obj.x); }
};
static_assert(!std::is_trivially_default_constructible<nontrivial_t>::value,