diff --git a/plugin.hpp b/plugin.hpp index e6b4281..c4f9716 100644 --- a/plugin.hpp +++ b/plugin.hpp @@ -62,13 +62,6 @@ namespace sc { static size_t count() { return plugins.size(); } - static plugin& random_choice() { - static std::random_device rdev {}; - static std::default_random_engine reng {rdev()}; - std::uniform_int_distribution dist {0, count() - 1}; - return get(names()[dist(reng)]); - } - plugin(const std::string& path) : _path {path} { _plugin = ::dlopen(path.c_str(), RTLD_LAZY);