summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-04-14 19:03:56 +0800
committerKeuin <[email protected]>2022-04-14 19:03:56 +0800
commitc9220aecd2c463c4ccfcec84a22fc2c0145db782 (patch)
tree873c963aaab9521391957db60495da94fa454633
parent9f3e7a43d57221208f39766e3f62fad536028f5e (diff)
Delete default constructor of random_uv_gen.
-rw-r--r--vec.h1
1 files changed, 1 insertions, 0 deletions
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<T> uni{-1.0, 1.0};
public:
+ random_uv_gen() = delete;
explicit random_uv_gen(uint64_t seed) : mt{seed} {}
vec3<T> operator()() {