aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-05-11 16:02:15 +0100
committerfanquake <fanquake@gmail.com>2022-05-17 17:18:58 +0100
commit7aa40f55636be565441a9e0af8de0a346bfa4da2 (patch)
treecec851bcb9c00ea0d37da6b96cc5c65f2366862a /src/random.cpp
parentd5d40d59f8d12cf53c5ad1ce9710f3f108cec386 (diff)
refactor: use C++11 default initializers
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/random.cpp b/src/random.cpp
index ec4e44ccc2..74ceb3d2a3 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -370,9 +370,7 @@ public:
InitHardwareRand();
}
- ~RNGState()
- {
- }
+ ~RNGState() = default;
void AddEvent(uint32_t event_info) noexcept EXCLUSIVE_LOCKS_REQUIRED(!m_events_mutex)
{