Removed random engine, using libscnumerics instead

This commit is contained in:
Bob Polis
2021-10-06 11:24:36 +02:00
parent f3b95b0419
commit 42313b010a
2 changed files with 9 additions and 11 deletions

View File

@ -10,7 +10,6 @@
#define _ScreensaverPlugin_H_
#include <cairo/cairo.h>
#include <random>
class ScreensaverPlugin {
public:
@ -26,8 +25,6 @@ class ScreensaverPlugin {
protected:
cairo_t* _c {nullptr};
cairo_rectangle_t _r {};
std::random_device _dev {};
std::default_random_engine _eng {_dev()};
void make_black();
cairo_rectangle_t random_rect();