Moving a random_device object.