From c9220aecd2c463c4ccfcec84a22fc2c0145db782 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 14 Apr 2022 19:03:56 +0800 Subject: Delete default constructor of random_uv_gen. --- vec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vec.h') diff --git a/vec.h b/vec.h index 2c8c2f4..9a29f8b 100644 --- a/vec.h +++ b/vec.h @@ -149,6 +149,7 @@ class random_uv_gen { std::uniform_real_distribution uni{-1.0, 1.0}; public: + random_uv_gen() = delete; explicit random_uv_gen(uint64_t seed) : mt{seed} {} vec3 operator()() { -- cgit v1.2.3