diff options
Diffstat (limited to 'glib/glibmm/random.h')
-rw-r--r-- | glib/glibmm/random.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/glibmm/random.h b/glib/glibmm/random.h index 864a4a32..aeda3a6a 100644 --- a/glib/glibmm/random.h +++ b/glib/glibmm/random.h @@ -43,6 +43,10 @@ public: explicit Rand(guint32 seed); ~Rand(); + // noncopyable + Rand(const Rand&) = delete; + Rand& operator=(const Rand&) = delete; + void set_seed(guint32 seed); bool get_bool(); @@ -58,10 +62,6 @@ public: private: GRand* gobject_; - - // noncopyable - Rand(const Rand&); - Rand& operator=(const Rand&); }; /** @} group Random */ |